PKI How Do I ...'s

Certificates

Glassfish

Keytool

  • list certificates
  • keytool -keystore keystore -list
  • generate key
  • keytool -keystore keystore -genkey -keysize 2048 -alias ramp -keyalg RSA
  • request certificate
  • keytool -keystore keystore -certreq -keysize 2048 -alias ramp -keyalg RSA
  • import signed certificate into keystore
  • keytool -keystore keystore -import -alias ramp -file ramp.cert
  • change key password
  • keytool -keystore keystore.jks -keypasswd -alias am.uwo.ca -keypass "oldpassword" -new ""newpassword
  • change store password
  • keytool -keystore keystore -storepasswd -new changeit
  • export a certificate
  • keytool -keystore cascadestore -export -rfc -alias cms.uwo.ca -file cms.uwo.ca.cert
  • import a certificate
  • keytool -keystore cacerts -import -alias ThawteSSLCA -file /tmp/dd
  • importing private keys into a Java keystore using keytool
  • import UWO root authority
  • change the password

Openssl

Windows

Western provides the best student experience among Canada's leading research-intensive universities.