8000
|
Hi @tlann did you mange to solve this issue? |
|
You said this was Keycloak 20.0.2. I'm using the same, but my GUI looks different and I cannot add the x509 flows that I did back in version 15. Anything else I need to do? Any idea? |
|
@thomasdarimont I was wondering if you had a little more time to help. Or anyone else available. I would be willing to pay for some time to help with this issue. Whether is be a working example or something else. As before, the code I am trying to run is here The https_client_auth parameter is set to request as shown. But I used an environment variable to do that as opposed to a command line parameter. The rootCA cert is also added to the truststore as seen here. The x509 browser flow looks like the following The x509-config Validate Username Form Authenticator config looks like this: looks like I turned on debugging and get the following log messages when going to the login page . But not when I go to the account page at https://myHost:8443/realms/x509/account/ I have turned logging on for org.keycloak.authentication and I get the following messages only when I got to the username password page. |
Uh oh!
There was an error while loading. Please reload this page.
I have been trying to figure how to get client authentication working using x509 certificates in the Quarkus version of Keycloak. @dasniko has a helpful video of doing it with the legacy version of Keycloak. I tried to follow what he and the Keycloak server admin guide suggests.
The expected behavior, based on @dasniko 's video is a certificate selection window should open up upon visiting the login url. However, only the login screen is displayed.
I have created a simple example in github to demonstrate what I'm attempting. There is a script to generate the certificates and import them into a truststore and keystore jks. The script then copies the jks files to a directory. The compose.yml file mounts the cert directory when starting Keycloak up and points Keycloak to them as a keystore and truststore. Their is also a realm export to configure things.
I have seen reports others have been able to do this. Do any of the symptoms sound familiar? Any suggestions on troubleshooting this?
All reactions