Support Article
DSS value for sitespecific cipher not working
SA-43263
Summary
After running the steps to generate, compile and load a site specific cipher still seeing issues where the cipher class specified in the DSS is not being found.
Error Messages
2017-08-29 22:57:45,194 [ocalhost-startStop-1] [ ] [ ] [ ] ( util.crypto.PRCryptoImpl) ERROR - Unable to load cipher class for site-specific passwords: yourPackage.yourCipherClass
java.lang.ClassNotFoundException: yourPackage.yourCipherClass
at com.pega.pegarules.internal.bootstrap.phase2.PRBaseLoader.findClass(PRBaseLoader.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at com.pega.pegarules.internal.bootstrap.phase2.PRBaseLoader.loadClass(PRBaseLoader.java:237)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:772)
at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:649)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:191)
at com.pega.pegarules.exec.internal.util.crypto.PRCryptoImpl.<init>(PRCryptoImpl.java:190)
Steps to Reproduce
Run compileandload script and then setup DSS.
Root Cause
A software use or operation error.
When the compileandload script was executed the prprivate parameter was set with a leading or without the actual java classname.
As a result the Java class was not compiled and an empty jar was imported into the database.
-prprivate "\yourPackage"
Resolution
Perform the following local-change:
Update the -prprivate parameter and rerun compileandload.bat file to compile and load the cipher class.
After that the class specified by the DSS is found.
-prprivate "yourPackage\yourCipherClass"
Published December 5, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.