diff --git a/test/http-client-tests/pom.xml b/test/http-client-tests/pom.xml
index 1a1dc7127e1..e0d0eb18244 100644
--- a/test/http-client-tests/pom.xml
+++ b/test/http-client-tests/pom.xml
@@ -120,8 +120,8 @@
org.bouncycastle
- bcpkix-jdk15on
- 1.70
+ bcpkix-jdk18on
+ 1.80
compile
diff --git a/test/protocol-tests/pom.xml b/test/protocol-tests/pom.xml
index 155f2e7cb6e..5712f4605b6 100644
--- a/test/protocol-tests/pom.xml
+++ b/test/protocol-tests/pom.xml
@@ -292,8 +292,8 @@
org.bouncycastle
- bcpkix-jdk15on
- 1.70
+ bcpkix-jdk18on
+ 1.80
test