certificate Import Apache Tomcat
cd /opt/tomcat/bin
./shutdown.sh
cd /opt/tomcat/certificate
cp -rp keystore.jks keystore.jks_bkp
mv start_***.com.eg.pfx start_****.com.eg.pfx_bkp
copy new certificate start_****.com.eg.pfx in the same path
keytool -importkeystore -srckeystore start_***.com.eg.pfx -srcstorepass ******* -srcstoretype pkcs12 -destkeystore keystore.jks -deststoretype jks -deststorepass ******
cd /opt/tomcat/bin
startup.sh
#to check password in server.xml
cd /opt/tomcat/conf
vi server.xml
No comments:
Post a Comment