diff --git a/common/src/main/java/org/keycloak/common/util/OCSPUtils.java b/common/src/main/java/org/keycloak/common/util/OCSPUtils.java
index 59eaab209d..9dedec7136 100644
--- a/common/src/main/java/org/keycloak/common/util/OCSPUtils.java
+++ b/common/src/main/java/org/keycloak/common/util/OCSPUtils.java
@@ -317,8 +317,8 @@ public final class OCSPUtils {
}
if (certs.size() > 0) {
- X500Name responderName = basicOcspResponse.getResponderId().toASN1Object().getName();
- byte[] responderKey = basicOcspResponse.getResponderId().toASN1Object().getKeyHash();
+ X500Name responderName = basicOcspResponse.getResponderId().toASN1Primitive().getName();
+ byte[] responderKey = basicOcspResponse.getResponderId().toASN1Primitive().getKeyHash();
if (responderName != null) {
logger.log(Level.INFO, "Responder Name: {0}", responderName.toString());
diff --git a/pom.xml b/pom.xml
index 493ebb183a..5559502d34 100755
--- a/pom.xml
+++ b/pom.xml
@@ -57,7 +57,7 @@
4.4.1
0.6
1.3.0.Final
- 1.52
+ 1.56
3.1.5
1.6.1
2011.1