diff --git a/jbpm-workitems/jbpm-workitems-rest/pom.xml b/jbpm-workitems/jbpm-workitems-rest/pom.xml
index ee550a8fd9..1b6772779f 100644
--- a/jbpm-workitems/jbpm-workitems-rest/pom.xml
+++ b/jbpm-workitems/jbpm-workitems-rest/pom.xml
@@ -120,12 +120,12 @@
org.bouncycastle
- bcprov-jdk15on
+ bcprov-jdk15to18
test
org.bouncycastle
- bcpkix-jdk15on
+ bcpkix-jdk15to18
test