From d895faa0586e25c6cf3901343e32e666a5c0c3d4 Mon Sep 17 00:00:00 2001 From: Vinicius Vieira Date: Fri, 13 Dec 2024 09:48:48 -0300 Subject: [PATCH] Update bouncy castle bcpkix (#11433) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The version bcpkix-jdk15on donĀ“t work with java 21 --- src/main/docs/guide/httpServer/serverConfiguration/https.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/docs/guide/httpServer/serverConfiguration/https.adoc b/src/main/docs/guide/httpServer/serverConfiguration/https.adoc index 4d1ce10669f..04fd50bff31 100644 --- a/src/main/docs/guide/httpServer/serverConfiguration/https.adoc +++ b/src/main/docs/guide/httpServer/serverConfiguration/https.adoc @@ -20,7 +20,7 @@ If you use a pre-generated certificate (as you should, for security), these step - Netty can use the JDK-internal `sun.security.x509` package. On newer JDK versions, this package is restricted and may not work. You may need to add `--add-exports=java.base/sun.security.x509=ALL-UNNAMED` as a VM parameter. - Alternatively, netty will use the Bouncy Castle BCPKIX API. This needs an additional dependency: -dependency:org.bouncycastle:bcpkix-jdk15on[scope="implementation"] +dependency:org.bouncycastle:bcpkix-jdk18on[scope="implementation"] WARNING: This configuration will generate a warning in the browser.