Replies: 1 comment 3 replies
-
If you are on recent versions of our JVM vendor buildpacks, then it should automatically pick up the certificates regardless of the version of Java. In older versions of the buildpack, it was not supported because Java changed the keystore format and it took a little time to get things working with the new format. I don't remember off-hand exactly when this was fixed, but anything in the last couple of months should be OK. If you are running the latest, please include full build output so we can see what happens at build time. Also, please provide some more details on what you're doing and why you feel like it's not using the certificates. All of this just helps us to more fully understand what's happening in your environment. Thanks |
Beta Was this translation helpful? Give feedback.
-
I was trying to switch our setup to Java 21. We have custom ca-certificates bindings, which successfully copies some custom certificates to the truststore(s) with Java 17 ("added n certificates ..."). After switching to Java 21 (BP_JVM_VERSION) we no longer get those certificates.
The ca-certificates build pack is properly triggered.
fail: paketo-buildpacks/[email protected] provides unused ca-certificates
Paketo Buildpack for CA Certificates 3.6.8 https://github.com/paketo-buildpacks/ca-certificates Launch Helper: Contributing to layer Creating /layers/paketo-buildpacks_ca-certificates/helper/exec.d/ca-certificates-helper
It looks as though Java 21 does no longer use these ca-certificates. Can you please tell me what I have to do differently with Java 21?!
Beta Was this translation helpful? Give feedback.
All reactions