stakly / ksmg-deploy-cert

Tool for deploing TLS certificate over WEB interface to KSMG 2.0
Apache License 2.0
0 stars 0 forks source link

XSRF verification failed #1

Open antkachenko opened 2 months ago

antkachenko commented 2 months ago

Hello,

Running your script I faced the following issue:

root@s000svap03:~# ./update-ksmg-certs.sh KSMG > generating certificate container "/tmp/ksmg.domain.ru.pfx" KSMG > obtaining XSRF token from "/tmp/cookie.txt" KSMG > trying to auth and save cookie into "/tmp/cookie.txt" KSMG > ERROR in result: {"error": {"id": "XSRFVerificationFailed", "message": "XSRF verification failed"}}

Could you please advice how to solve it? I'm running KSMG 2.1.0.7854.

stakly commented 2 months ago

Hello,

Script works on 2.0.1-6960, maybe 2.1 version has some auth URL modifications. Maybe some time later I will update script for actual version, but now you can check web debugger in any browser for auth processing URL.