-
Notifications
You must be signed in to change notification settings - Fork 296
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
How do you use the client when Keycloak is running over https #76
Comments
You have found some solutions for this? |
I was recently able to resolve this. I don't have the code in front of me, so some variable names may be wrong. But you can add a certificate path directly to the requests.Session like this:
I hope this helps. |
There is no such method connection._s.cert, can you help with exact code snippet. |
It looks like the :param verify: True if want check connection SSL
:type verify: bool The following works for me: connection = KeycloakOpenIDConnection(
server_url="...",
username="...",
password="...",
realm_name="...",
verify="/path/to/cert.pem",
) |
When I run Keycloak in SSL mode when I try to use the client I don't see an option of passing in any certificates. When I try the https url anyways for keycloak I am getting a handshake error when I try to use KeycloakOpenID.
SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed'
The text was updated successfully, but these errors were encountered: