Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2025.1

...

  1. Use the following command to create the CSR:  

    Code Block
    keytool -certreq -alias selfsigned -keystore keystore.jks -file cer- treqcertreq.csr

    You will be prompted to enter the keystore password. A certreq.csr CSR file is created for the key with the alias selfsigned.

  2. The CA will return a Root or Chain certificate and the newly signed certificate, both of which must be imported into your keystone. Use the following command to import your root certificate: 

    Code Block
    keytool -import -alias root -keystore keystore.jks -trustcacerts - file <filename_of_the_chain_certificate>
  3. Use the following command to import the new certificate:

    Code Block
    keytool -import -alias dtp -keystore keystore.jks -file <your_certificate_filename>

...

Copy the keystore.jks file described in Keystore Generation and Certificates to the tomcat/conf directory and rename the file to .keystore.  $PASSWORD is the user password specified when the keystore was created. $ALIAS is the alias assigned to the desired certificate in the keystore.

...