Replies: 1 comment
-
|
hello @pbagona! Did you manage to resolve this? Currently facing the same problem |
Beta Was this translation helpful? Give feedback.
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am using AKHQ helmchart on k8s cluster, version&appVersion are 0.24.0.
My goal is to connect it with Keyclaok on different k8s cluster.
I have prepared configuration, but when I try to start AKHQ with new configuration and oidc enabled + micronaunt.security.oauth2 enabled, I'm getting into error with certificate.
Without that, AKHQ works fine, mounts everything to specified path and is able to connect to Kafka.
For different applications, I had to provide root ca certificate (for example when integrating with Grafana, I had to mount cert to /etc/ssl/certs path or with OpenSearch I specifically defined root_ca path which I mounted) and after that it worked.
However not sure how to achieve same thing here, as I believe it's reason why AKHQ pod fails to start when I add oidc configuration.
I tried mounting it to path /etc/ssl/certs but AKHQ doesn't start, I tried subpath /etc/ssl/certs/cacert (to not loose all default certs on /etc/ssl/certs path) and didn't help, also completely custom path didn't help either.
Here are errors I'm getting, configuration is bellow:
2024-06-03 13:29:07,582 ERROR main i.m.runtime.Micronaut Error starting Micronaut server: Bean definition [io.micronaut.security.oauth2.client.DefaultOpenIdProviderMetadata] could not be loaded: Error instantiating bean of type [io.micronaut.security.oauth2.client.DefaultOpenIdProviderMetadata] Message: javax.net.ssl.SSLHandshakeException: No X509TrustManager implementation available Path Taken: DefaultOpenIdProviderMetadata.openIdConfiguration(OauthClientConfiguration oauthClientConfiguration,OpenIdClientConfiguration openIdClientConfiguration,OpenIdProviderMetadataFetcher openIdProviderMetadataFetcher) at io.micronaut.context.DefaultBeanContext.initializeContext(DefaultBeanContext.java:1921) at io.micronaut.context.DefaultApplicationContext.initializeContext(DefaultApplicationContext.java:249) at io.micronaut.context.DefaultBeanContext.readAllBeanDefinitionClasses(DefaultBeanContext.java:3326) at io.micronaut.context.DefaultBeanContext.finalizeConfiguration(DefaultBeanContext.java:3684) at io.micronaut.context.DefaultBeanContext.start(DefaultBeanContext.java:341) at io.micronaut.context.DefaultApplicationContext.start(DefaultApplicationContext.java:194) at io.micronaut.runtime.Micronaut.start(Micronaut.java:75) at io.micronaut.runtime.Micronaut.run(Micronaut.java:323) at io.micronaut.runtime.Micronaut.run(Micronaut.java:309) at org.akhq.App.main(App.java:27)Here is example of my configuration:
Beta Was this translation helpful? Give feedback.
All reactions