keytool -genkey -alias serverkeys -keyalg RSA -keystore server.keystore -storepass changeit -keypass changeit -dname "CN=localhost, OU=MYOU, O=MYORG, L=MYCITY, ST=MYSTATE, C=MY"
Note: password of key need to be the same with password of keystore
- Import key into Sun JDk keystore
sudo /home/kiennguyen/java/software/jdk1.6.0_22/jre/bin/keytool -importkeystore -srckeystore /home/kiennguyen/java/eXoProjects/gatein/portal/branches/branch-GTNPORTAL/server.keystore -destkeystore /home/kiennguyen/java/software/jdk1.6.0_22/jre/lib/security/cacerts
Default password of jre cacerts: changeit
Password of source key store: changeit
- Edit server.xml file from Tomcat/conf folder
- comment:
- Open a web browser and run address: https://localhost:8443/portal
No comments:
Post a Comment