views:

146

answers:

1

Does anyone know the process to renew SSL certificate for custom java web server?

+1  A: 

I would:

  • request a new certificate
  • import the new certification in the existing keystore under a new alias

    keytool -importcert -keystore key.jks -alias abc -file ABCCA.cer
    
  • modify the server configuration accordingly

  • remove the old certificate (once things are working)

    keytool -delete -alias abcold -keystore key.jks
    
Pascal Thivent
Does alias play any role? Somehow I feel I have messed up with alias.
yogsma
@yogsma It should (in your server configuration).
Pascal Thivent