Tag: tomcat

Keytool SSL certificate request

Posted by – January 29, 2019

We can divide the request proces in three steps:

  1. Certificate private key creation
  2. CSR generation (must be submitted to our SSL certificate provider for certificate creation)
  3. Certificate import
  1. Keytool -genkey -alias AliasName -keyalg RSA -keysize 2048 -keystore “PathKeystore”
  2. keytool -certreq -alias AliasName -keyalg RSA -file FileName.csr -keystore “PathKeystore” -ext SAN=dns:DNSName.it,Hostname,…
  3. keytool -import -alias AliasName -keystore “PathKeystore” -file FileName.cer