Support Article

SAML: Not working in PegaCloud 2.1

SA-37245

Summary



After upgrading to PegaCloud 2.1 using PRPC 7.2.2 SAML authentication is not working. The PRPC AssertionConsumerService throws and exception.

Error Messages



Caused by:
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.ssl.TrustMaterial
at org.opensaml.xml.security.x509.X509Util.decodeCertificate(X509Util.java:359)


Steps to Reproduce



Standard SAML Authentication.


Root Cause



PRPC 7.2.2 ships with not-yet-commons-ssl-0.3.9.jar which causes the exception due to PegaCloud level changes made to JAVA_HOME/jre/lib/secrity/cacerts. The older version of not-yet-commons-ssl is not compatible with these changes and PRPC 7.2.2 should have shipped with not-yet-commons-ssl-0.3.17.jar.

Resolution



Apply Hfix-33923. This installs not-yet-commons-ssl-0.3.17.jar.

Published April 28, 2017 - Updated April 29, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.