I want to encrypt prconfig.xml.
Q1. How can I make the command work?
Q2.What are the other steps or links to encrypt prconfig.xml?
hi All.
Thank you for watching.
I have implemented the procedure with reference to the following URL
https://docs-previous.pega.com/how-encrypt-database-passwords-using-jce-keyring-file
The java command listed in "4. Call the Process Commander Java class KeyringImpl to generate the pegarules.keyring file." does not work.
# java -Xms512m -Xmx768m -Dpegarules.config=/opt/tomcat9/webapps/prweb/WEB-INF/classes/prconfig.xml -Dpegarules.logging.configuration=/opt/tomcat9/webapps/prweb/WEB-INF/classes/prlog4j2.xml -classpath /tmp/PegaInstallTemp-25-August-2022-06.47.24/load/lib/pega/prprivate.jar;/tmp/PegaInstallTemp-25-August-2022-06.47.24/load/lib/pega/prpublic.jar;/opt/tomcat9/webapps/prweb/WEB-INF/classes/prlog4j2.xml;/home/ec2-user/pega8.7.3/ResourceKit/ThirdPartySource/prlucene-1.4.3-src.jar;/tmp/PegaInstallTemp-25-August-2022-06.47.24/load/lib/pega/pricu2jdk.jar;/home/ec2-user/pega8.7.3/Additional_Products/BIX/lib/prdbcp.jar com.pega.pegarules.exec.internal.util.crypto.KeyringImpl /opt/tomcat9/webapps/prweb/WEB-INF/classes/pegarules.keyring /opt/tomcat9/webapps/prweb/WEB-INF/classes/prconfig.xml /home/ec2-user/pega8.7.3/Additional_Products/BIX
prlogging.xml has been replaced with prlog4j2.xml for Pega Platform 8.7.
prjsr seems to have been removed in 8.7 because it is no longer needed.
Q1. How can I make the command work?
Q2.What are the other steps or links to encrypt prconfig.xml?
hi All.
Thank you for watching.
I have implemented the procedure with reference to the following URL
https://docs-previous.pega.com/how-encrypt-database-passwords-using-jce-keyring-file
The java command listed in "4. Call the Process Commander Java class KeyringImpl to generate the pegarules.keyring file." does not work.
# java -Xms512m -Xmx768m -Dpegarules.config=/opt/tomcat9/webapps/prweb/WEB-INF/classes/prconfig.xml -Dpegarules.logging.configuration=/opt/tomcat9/webapps/prweb/WEB-INF/classes/prlog4j2.xml -classpath /tmp/PegaInstallTemp-25-August-2022-06.47.24/load/lib/pega/prprivate.jar;/tmp/PegaInstallTemp-25-August-2022-06.47.24/load/lib/pega/prpublic.jar;/opt/tomcat9/webapps/prweb/WEB-INF/classes/prlog4j2.xml;/home/ec2-user/pega8.7.3/ResourceKit/ThirdPartySource/prlucene-1.4.3-src.jar;/tmp/PegaInstallTemp-25-August-2022-06.47.24/load/lib/pega/pricu2jdk.jar;/home/ec2-user/pega8.7.3/Additional_Products/BIX/lib/prdbcp.jar com.pega.pegarules.exec.internal.util.crypto.KeyringImpl /opt/tomcat9/webapps/prweb/WEB-INF/classes/pegarules.keyring /opt/tomcat9/webapps/prweb/WEB-INF/classes/prconfig.xml /home/ec2-user/pega8.7.3/Additional_Products/BIX
prlogging.xml has been replaced with prlog4j2.xml for Pega Platform 8.7.
prjsr seems to have been removed in 8.7 because it is no longer needed.
I added the following to prconfig.xml before executing the command.
--------
<env name="database/drivers" value="oracle.jdbc.OracleDriver" />
<env name="database/databases/PegaRULES/url" value="jdbc:oracle:thin:@//xxx.xxxx.xxx.xxx:1521/HOGE />
<env name="database/databases/PegaRULES/userName" value="HOGE" />
<env name="database/databases/PegaRULES/password" value="HOGEPASS" />
<env name="identification/KeyringPrefix" value="BIX-extract" />
<env name="identification/KeyringAlgorithm" value="AES" />
<env name="identification/KeyringLength" value="256" /> --------
Q1. How can I make the command work?Q2.What are the other steps or links to encrypt prconfig.xml?