You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2024. It is now read-only.
bin/bankapi uses httplib.HTTPSConnection to establish connections using TLS.
However, the documentation for httplib.HTTPSConnection has the warning:
"Warning: This does not do any verification of the server’s certificate."
The client should either check the host's certificate, or refuse to use https.
The text was updated successfully, but these errors were encountered:
…ertificate
Switch away from httplib to the more fun requests. This enabled us among
other things to verify the SSL certificate in use when connecting. Also
add an -i switch to allow insecure connections if desired during
development or equiv.
I switched from httplib to reqeusts for doing the requests and this enables us to check for valid certificates easily during connections. Don't really know why I keep using the httplib, old habits I guess. Thank you for pointing this out.
bin/bankapi uses httplib.HTTPSConnection to establish connections using TLS.
However, the documentation for httplib.HTTPSConnection has the warning:
"Warning: This does not do any verification of the server’s certificate."
The client should either check the host's certificate, or refuse to use https.
The text was updated successfully, but these errors were encountered: