Regarding SSL Configuration in keycloak 20.0.2

Hi I am unable to configure the SSL Certificate to Keycloak 20.0.2, i am refering " Configuring TLS - Keycloak"
this method is not working for me as i am getting following error
“ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: java.lang.RuntimeException: Missing -----BEGIN CERTIFICATE----- delimeter”,
Anyone please respond, as we need this task to be done ASAP.
Thank you,
P.Phani

You’ll have to be more specific about your configuration.

From the link you posted, sre you following “Providing certificates in PEM format” or “Providing a Java Keystore”?

I have used in both ways, the error is occuring for the PEM format ones

Can you confirm that your PEM public key contains the proper -----BEGIN CERTIFICATE----- header? This is the file you’re specifying with --https-certificate-file.

I am using PEM Private Certificate and Key Private Key, do i need to use PUBLIC KEY?

The public key is the certificate that anyone can read. Go to any website and pull up the padlock icon.

The private key is kept hidden by KC and works to encrypt or to digitally sign information.

So in config file
In https-certificate-file = i need to place public certificate? And key public key?

That one resolved,
Now another one is like in 11.0.3 version, i am getting an error while running the keycloak as a service in server


What may be the issue and how to resolve it please respond.

You’ll need to provide a little more information. This is a brand new installation of a very old Keycloak 11 or are you moving it around?

If this is for Keycloak 11, I’d open a new topic since you’re no longer troubleshooting SSL on 20.

no need that was done, Thank you