How to load kubernetes ca certs from a native executable? #36511
-
I'm having trouble figuring out if its possible for a native executable to load a CA certificate from a kubernetes pod. I noticed the issue here, #9713, and the resulting document https://quarkus.io/guides/native-and-ssl#build-time-configuration. In the Build Time Configuration section, it does seem to imply that configuring TLS certs at build time is not ideal in certain scenarios, and specifically calls out wanting to dynamically load kubernetes certs from |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
I'm running a Quarkus native application in Kubernetes (built with GraalVM >21 and JDK 21) and want to inject internal PEM certificates at runtime via mounted Secrets—without baking them into the image or converting them to PKCS12. Currently, outbound SSL connections ignore certificates provided at runtime. Questions:
Any guidance is appreciated. |
Beta Was this translation helpful? Give feedback.
See https://quarkus.io/guides/tls-registry-reference#using-kubernetes-secrets.