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 }}
Repository navigation
X509 Auth via NginxProxySslClientCertificateLookup
#14556
Greetings.
I'm trying to get an x509-auth to work where the clientcertificate is passed backward to keycloak from my nginx proxy-server.
I belive I have done everything according to the documentation and still I can't get it working.
Keycloak is unable to match the incoming client-certificate against my truststore
2022-09-23 06:14:29,512 DEBUG [org.keycloak.services.x509.NginxProxySslClientCertificateLookup] (executor-thread-0) Loading Keycloak truststore ...
2022-09-23 06:14:29,512 DEBUG [org.keycloak.services.x509.NginxProxySslClientCertificateLookup] (executor-thread-0) Keycloak truststore loaded for NGINX x509cert-lookup provider.
2022-09-23 06:14:29,520 DEBUG [org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookup] (executor-thread-0) Found a valid x.509 certificate in "SSL-CLIENT-CERT" HTTP header
2022-09-23 06:14:29,525 DEBUG [org.keycloak.services.x509.NginxProxySslClientCertificateLookup] (executor-thread-0) End user certificate found : Subject DN=[CN=isrjo,GIVENNAME=Jonas,SURNAME=Israelsson,OU=HQ,O=Elementary AB] SerialNumber=[1436973074]
2022-09-23 06:14:29,546 WARN [org.keycloak.services.x509.NginxProxySslClientCertificateLookup] (executor-thread-0) No issuer certificate for certificate in certification path found.
2022-09-23 06:14:29,546 INFO [org.keycloak.services.x509.NginxProxySslClientCertificateLookup] (executor-thread-0) Impossible to rebuild end user cert chain : client certificate authentication will fail.
2022-09-23 06:14:29,546 WARN [org.keycloak.services] (executor-thread-0) [X509ClientCertificateAuthenticator:authenticate] x509 Client Certificate Authentication configuration is not available.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Greetings.
I'm trying to get an x509-auth to work where the clientcertificate is passed backward to keycloak from my nginx proxy-server.
I belive I have done everything according to the documentation and still I can't get it working.
Keycloak is unable to match the incoming client-certificate against my truststore
And yet it fails to match.
Anyone see what I am missing ?
All reactions