Unable to use the property type as TextEncrypted
SummaryUnable to use the property type as TextEncrypted when implementing site specific cipher.
For more information, refer to: https://community.pega.com/knowledgebase/articles/creating-custom-cipher-pega-platform#specify-site-specific-ciphers-using-runpega-jcecapabilities-prciphergenerator
Error Messages417 [tp-bio-8080-exec-147] [TABTHREAD1]  (ngineinterface.service.HttpAPI) ERROR :
Error processing input
com.pega.pegarules.pub.context.CryptographicException: encryptPropertyValue: No site-specific cipher algorithm
Steps to ReproduceUnknown
Root CauseThe command to compile and load the JAR file to the database was executed incorrectly. Hence, the class file was not loaded to the database. A site-specific cipher class was required for encryption and since the class was not found, error occurred.
ResolutionPerform the following local-change:
Use the below command as a reference to compile and load the JAR file to the database,compileAndLoad.bat --driver <drive>:\prweb\WEB-INF\lib\ojdbc6.jar --prweb <drive>:\prweb --propfile <drive>:\prweb\WEB-INF\classes\prbootstrap.properties -–basedir <drive>:\prweb –-jarfile Cipher –-codeset customer –-codesetversion 07-01-10 –prprivate “com\site\cipher\encrypt\CustomCipher.java"
select * from PR_Engineclasses where PZJAR = 'Cipher.jar'
Published June 26, 2017 — Updated August 19, 2019