Verify Cert Failure
Closed this issue · 2 comments
The "Verify Certificate" checkbox does not function as expected.
I got the paths correctly in now and I am using the default/stock self-signed cert that comes with OPNsense. The original error message is gone, but now it says:
Max retries exceeded with url: /api/core/firmware/info (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1106)')))"
Turning off "Verify Certificate" does not change that error message.
Originally posted by @PMJeffery in #44 (comment)
This issue will be fixed in the next release. For a quick fix, you can try the following:
open the file $SPLUNK_HOME/etc/apps/TA-opnsense/bin/input_module_opnsense_system_information.py
on line 25 you will find if verify_cert:
Change this to:
if verify_cert == "1":
If you don't want to change your code, you can also switch to the development branch where the change is implemented.
git checkout development