While configuring SAML from the Admin Console, the user sees the following error when attempting to upload the PEM file:
Following corresponding errors are printed in the application server log:
ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error at function a!adminRouter: An error occurred while executing a save: java.lang.VerifyError: class org.bouncycastle.asn1.ASN1Primitive overrides final method equals.(Ljava/lang/Object;)Z (APNX-1-4198-019)
For JBoss, server.log is located in the <JBOSS_HOME>/standalone/log directory. For Tomcat, tomcat-stdOut.log file is located in the <APPIAN_HOME>/log directory.
This issue presents itself when there are custom versions of the Bouncy Castle classes in the environment which conflict with Appian.
Ensure that there are no custom classes or JARs deployed in the environment.
This article applies to all versions of Appian.
Last Reviewed: November 2018
© 2021 Appian. All rights reserved.