Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to use the property type as TextEncrypted

SA-39922

Summary



Unable 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 Messages



417 [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
at com.pega.pegarules.exec.internal.util.crypto.PRCryptoImpl.encryptPropertyValue(PRCryptoImpl.java:580)



Steps to Reproduce



Unknown


Root Cause



The 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.


Resolution



Perform 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 August 19, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us