Keytool SSL certificate request

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,Hostname,…
  3. keytool -import -alias AliasName -keystore “PathKeystore” -file FileName.cer

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.