Link to home
Start Free TrialLog in
Avatar of lhrslsshahi
lhrslsshahi

asked on

Supporting both PKCS12 and PKCS7 keyStoreTypes

Current:

CATALINA_OPTS="-Xmx14g \
-XX:MaxPermSize=4g \
-Xms8g \
-Denv=live \
-DcreditpalEnv=live \
-Djavax.net.ssl.keyStore=/opt/tomcat-deploy/val-conf/xer_certificate.p12 \
-Djavax.net.ssl.keyStorePassword=Monday \
-Djavax.net.ssl.keyStoreType=PKCS12 \
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=8085 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=true  \
-Dcom.sun.management.jmxremote.password.file=/opt/tomcat-deploy/conf/jmxremote.password \
-Dcom.sun.management.jmxremote.access.file=/opt/tomcat-deploy/conf/jmxremote.access"



I need to add an additional keyStoreType which will be PKCS7.

Proposed...

CATALINA_OPTS="-Xmx14g \
-XX:MaxPermSize=4g \
-Xms8g \
-Denv=live \
-DcreditpalEnv=live \
-Djavax.net.ssl.keyStore=/opt/tomcat-deploy/val-conf/xer_certificate.p12 \
-Djavax.net.ssl.keyStore=/opt/tomcat-deploy/val-conf/blah_certificate.p7b \
-Djavax.net.ssl.keyStorePassword=Monday \
-Djavax.net.ssl.keyStoreType=PKCS12 \
-Djavax.net.ssl.keyStoreType=PKCS7 \
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=8085 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=true  \
-Dcom.sun.management.jmxremote.password.file=/opt/tomcat-deploy/conf/jmxremote.password \
-Dcom.sun.management.jmxremote.access.file=/opt/tomcat-deploy/conf/jmxremote.access"

Will the proposed config changes cause any issues?
ASKER CERTIFIED SOLUTION
Avatar of mccarl
mccarl
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lhrslsshahi
lhrslsshahi

ASKER

Thanks for your input.