-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSLError when using pybankid with BankID Test environment #44
Comments
I've faced the same issue which I reported here - #42. It's basically due to pybankid (v0.12.0) using an outdated test certificate. I've made a PR to update the test certificate which was merged, but not deployed to PyPI. |
Thanks for the response @dhalenok. I suppose we can close this as a duplicate. |
This was now released in version 0.13.1 to PyPI. Thank you for noticing it! |
I'm still having the same issue after upgrading to 0.13.1. |
Did you fetch the new certificate before trying? Something like this: import os
from bankid.certutils import create_bankid_test_server_cert_and_key
paths = create_bankid_test_server_cert_and_key(os.path.expanduser("~"))
print(paths) |
Ah, I seem to have confused the container environment with the one on the host. |
Description
It's been working well for months, but now suddenly it throws an SSLError when trying to use BankID for test with pybankid.
I've installed the certificate from https://www.bankid.com/utvecklare/test, but the same error still
occurrs.
The setup has been working before, last time I checked it was around March 2022.
Describe what you were trying to get done.
I was trying to use BankID's test environment with pybankid, by using the 'authenticate' method on the BankIDJSONClient.
What I Did
Installed the latest TLS Certificate from BankID, for the test environment
The text was updated successfully, but these errors were encountered: