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
I have tried disabling ssl checks in order to test the library in a development setting.
In particular, using https://stackoverflow.com/questions/35875298/python-3-urllib-with-self-signed-certificates
I tried various variations of
ssl._create_default_https_context = ssl._create_unverified_context
at django initialization, but I still get the same SSL error:
HTTPSConnectionPool(host='a.b.c.d', port=8443): Max retries exceeded with url: /auth/realms/REALM/.well-known/openid-configuration (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)'),))
Can you add some documentation on how to disable SSL verification in test environments?
I have not found any information on https://django-keycloak.readthedocs.io/en/latest/
The "Initial settings" may be a good place to give some pointers.
Thank you.
The text was updated successfully, but these errors were encountered:
The JSONDecodeError was a different issue, so please disregard that.
However, there should be an easy way to indicate to django-keycloak that certificate verification should be disabled without disabling it globally at site-packages/requests/sessions.py
I have tried disabling ssl checks in order to test the library in a development setting.
In particular, using
https://stackoverflow.com/questions/35875298/python-3-urllib-with-self-signed-certificates
I tried various variations of
ssl._create_default_https_context = ssl._create_unverified_context
at django initialization, but I still get the same SSL error:
HTTPSConnectionPool(host='a.b.c.d', port=8443): Max retries exceeded with url: /auth/realms/REALM/.well-known/openid-configuration (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)'),))
Can you add some documentation on how to disable SSL verification in test environments?
I have not found any information on
https://django-keycloak.readthedocs.io/en/latest/
The "Initial settings" may be a good place to give some pointers.
Thank you.
The text was updated successfully, but these errors were encountered: