I use oauth login to pgAdmin in docker with self-signed certificate and Authentik as IdP.
SSL verification is disabled because of the self-signed certificate.
Docker compose environment variable:
PGADMIN_CONFIG_OAUTH2_SSL_CERT_VERIFICATION=False
OAuth login works fine up to version 9.10.
With Version 9.11 to 9.15 I get an SSL verification error.
To Reproduce
Steps to reproduce the behavior:
- Install pgAdmin 9.10, configure oauth with self-signed certificate and login
- Login works
- Update to pgAdmin 9.11 or newer
- Login fails
Expected behavior
OAuth login should work.
Error message
{"success":0,"errormsg":"HTTPSConnectionPool(host='authentik.example.com', port=443): Max retries exceeded with url: /application/o/pgadmin/.well-known/openid-configuration (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Basic Constraints of CA cert not marked critical (_ssl.c:1081)')))","info":"","result":null,"data":null}
Desktop (please complete the following information):
- OS: Synology NAS
- pgAdmin version: 9.10 working, 9.11+ broken
- Mode: Server
- Browser (if running in server mode): Firefox 151.0.3
- Package type: docker compose container
I use oauth login to pgAdmin in docker with self-signed certificate and Authentik as IdP.
SSL verification is disabled because of the self-signed certificate.
Docker compose environment variable:
PGADMIN_CONFIG_OAUTH2_SSL_CERT_VERIFICATION=False
OAuth login works fine up to version 9.10.
With Version 9.11 to 9.15 I get an SSL verification error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
OAuth login should work.
Error message
{"success":0,"errormsg":"HTTPSConnectionPool(host='authentik.example.com', port=443): Max retries exceeded with url: /application/o/pgadmin/.well-known/openid-configuration (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Basic Constraints of CA cert not marked critical (_ssl.c:1081)')))","info":"","result":null,"data":null}
Desktop (please complete the following information):