diff --git a/pom.xml b/pom.xml
index 1f156c5077..1e070feec9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,11 +95,11 @@
         <version.org.xipki.pki.ocsp-server>3.0.0</version.org.xipki.pki.ocsp-server>
         <version.org.bitbucket.b_c.jose4j>0.9.6</version.org.bitbucket.b_c.jose4j>
         <version.org.testcontainers.testcontainers>1.15.3</version.org.testcontainers.testcontainers>
-        <version.org.keycloak>18.0.2</version.org.keycloak>
+        <version.org.keycloak>25.0.2</version.org.keycloak>
         <version.io.rest-assured>4.3.3</version.io.rest-assured>
         <version.net.sourceforge.htmlunit.htmlunit>2.40.0</version.net.sourceforge.htmlunit.htmlunit>
         <version.org.apache.santuario>2.3.0</version.org.apache.santuario>
-        <version.org.keycloak.keycloak-services>3.1.0.Final</version.org.keycloak.keycloak-services>
+        <version.org.keycloak.keycloak-services>23.0.7</version.org.keycloak.keycloak-services>
 
         <test.level>INFO</test.level>
         <!-- Checkstyle configuration -->