diff --git a/docs/src/main/asciidoc/kubernetes-client.adoc b/docs/src/main/asciidoc/kubernetes-client.adoc index afd2d0653debe..3e8074bc4d908 100644 --- a/docs/src/main/asciidoc/kubernetes-client.adoc +++ b/docs/src/main/asciidoc/kubernetes-client.adoc @@ -340,7 +340,7 @@ Please note that if you would like to use Elliptic Curve keys with Kubernetes Cl [source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"] .build.gradle ---- -implementation("org.bouncycastle:bcpkix-jdk15on") +implementation("org.bouncycastle:bcpkix-jdk18on") ---- Note that internally an `org.bouncycastle.jce.provider.BouncyCastleProvider` provider will be registered if it has not already been registered. diff --git a/docs/src/main/asciidoc/security-customization.adoc b/docs/src/main/asciidoc/security-customization.adoc index 5483addf7a19f..4bf085eaacf8a 100644 --- a/docs/src/main/asciidoc/security-customization.adoc +++ b/docs/src/main/asciidoc/security-customization.adoc @@ -424,7 +424,7 @@ and add the BouncyCastle provider dependency: [source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"] .build.gradle ---- -implementation("org.bouncycastle:bcprov-jdk15on") +implementation("org.bouncycastle:bcprov-jdk18on") ---- [[bouncy-castle-jsse]] @@ -459,7 +459,7 @@ and add the BouncyCastle TLS dependency: [source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"] .build.gradle ---- -implementation("org.bouncycastle:bctls-jdk15on") +implementation("org.bouncycastle:bctls-jdk18on") ---- [[bouncy-castle-fips]] diff --git a/docs/src/main/asciidoc/stork-kubernetes.adoc b/docs/src/main/asciidoc/stork-kubernetes.adoc index 0572cc5955726..ba587d054a9e1 100644 --- a/docs/src/main/asciidoc/stork-kubernetes.adoc +++ b/docs/src/main/asciidoc/stork-kubernetes.adoc @@ -432,7 +432,7 @@ kubectl apply -f target/kubernetes/kubernetes.yml -n=development [NOTE] ==== -Please note that if you use Elliptic Curve keys with Stork and are getting exceptions like `java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider`, then adding a BouncyCastle PKIX dependency (`org.bouncycastle:bcpkix-jdk15on`) is required. +Please note that if you use Elliptic Curve keys with Stork and are getting exceptions like `java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider`, then adding a BouncyCastle PKIX dependency (`org.bouncycastle:bcpkix-jdk18on`) is required. Note that internally an `org.bouncycastle.jce.provider.BouncyCastleProvider` provider will be registered if it has not already been registered. diff --git a/extensions/kubernetes-client/runtime/src/main/java/io/quarkus/kubernetes/client/runtime/graal/CertUtilsSubstitutions.java b/extensions/kubernetes-client/runtime/src/main/java/io/quarkus/kubernetes/client/runtime/graal/CertUtilsSubstitutions.java index 0c9402259b087..dd884d8257ac5 100644 --- a/extensions/kubernetes-client/runtime/src/main/java/io/quarkus/kubernetes/client/runtime/graal/CertUtilsSubstitutions.java +++ b/extensions/kubernetes-client/runtime/src/main/java/io/quarkus/kubernetes/client/runtime/graal/CertUtilsSubstitutions.java @@ -13,6 +13,6 @@ public final class CertUtilsSubstitutions { @Substitute static PrivateKey handleECKey(InputStream keyInputStream) throws IOException { throw new RuntimeException( - "EC Keys are not supported when using the native binary, please add the org.bouncycastle:bcpkix-jdk15on dependency"); + "EC Keys are not supported when using the native binary, please add the org.bouncycastle:bcpkix-jdk18on dependency"); } }