codecentric / helm-charts

A curated set of Helm charts brought to you by codecentric
Apache License 2.0
625 stars 608 forks source link

Unable to connect springboot with keycloak #794

Open Ajmalkhan7 opened 2 months ago

Ajmalkhan7 commented 2 months ago

I have keycloak codecentric helm chart deployed and keycloak version is 25.0.0 and its up and running. I want to connect springboot application with keycloak.

But i am getting the following error

Couldn't retrieve remote JWK set: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://example.com/auth/realms/RELAM_NAME/protocol/openid-connect/certs": PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

My application.yaml configurations for keycloak are as follows:

keycloak: jwk-set-uri: https://example.com/auth/realms/REALM_NAME/protocol/openid-connect/certs auth-server-url: https://example.com

keycloak-tenants: auth-server-url: https://example.com realms:

security: jwt: issuers:

and values.yaml for code centric helm charts is as follows

command:

extraEnv: |

Any help on this would be highly appreciated.

github-actions[bot] commented 4 days ago

This issue has been marked as stale because it has been open for 30 days with no activity. It will be automatically closed in 10 days if no further activity occurs.