Self Signed CA support
Hello,
are there any plans to support self signed certificates?
The initial test connection against a server which has a self signed certificate fails (red notification around URL and button). No errors reported which indicate the issue.
To work around the issue you have to export REQUESTS_CA_BUNDLE=/path/to/root.pem and it all starts working. Updating your python CA store does also work.
It would be great if Gotify-Tray would read the system wide CA store or allows to add the CS pem file during setup.
For reference:
- websocket: https://doc.qt.io/qt-6/qwebsocket.html#ignoreSslErrors-1
- requests: https://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification
Requests is in feature freeze and has been for about half a decade.
If you use Niquests instead, it's an actively maintained drop-in replacement, and will automatically use the OS Trust store so a certificate doesn't need to be imported for a self signed ca.