Repository navigation
unable to connect keycloak with external mysql DB #38507
Unanswered
mehransaeed7810
asked this question in
Q&A
Replies: 1 comment
|
This is most likely not a bug in Keycloak but a configuration problem. Converting this into a question. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Before reporting an issue
Area
No response
Describe the bug
Hello
I am trying to connect keycloak to external postgresql database but connection SSL connection error as
I am running keycloak in kubernetes helm chart and relevant config in the values.yaml is
externalDatabase: host: "db-url" port: 3306 user:keycloak database: keycloak password: "dakjfdla" existingSecret: "" existingSecretHostKey: "" existingSecretPortKey: "" existingSecretUserKey: "" existingSecretDatabaseKey: "" existingSecretPasswordKey: "" jdbcParams: "?sslmode=require" annotations: {}
I tried using the parameter " jdbcParams: "?sslmode=disable" but no luck
Is there any work around for this issue
Version
24.4.13
Regression
Expected behavior
It should be able to connect with the external postgresql
Actual behavior
But for some reason its throwing the SSL connection error
How to Reproduce?
connect keycloak with the external postgresql db
Anything else?
No response
All reactions