opkbright.blogg.se

Install ssl on apache tomcat 8 ubuntu 16.04
Install ssl on apache tomcat 8 ubuntu 16.04









install ssl on apache tomcat 8 ubuntu 16.04

Install the intermediate certificate: keytool -import -alias intermed -keystore /etc/pki/keystore -trustcacerts -file intermediate.crt Install the root certificate: keytool -import -alias root -keystore /etc/pki/keystore -trustcacerts -file root.crt intermediate.crt (intermediate certificate)Ĭ. Use this CSR and purchase ssl certificate from any certificate authorities.Īfter issued certificate by CA, you will have following files – root certificate, intermediate certificate, and certificate file. If you want to purchase a valid ssl from certificate authorities, then you need to first create a CSR, Use the following command to do it.Ĭreate CSR: keytool -certreq -keyalg RSA -alias -file svr1.csr -keystore /etc/pki/keystoreĪbove command will prompt for keystore password and generate the CSR file. You don’t need to do this step if you are going to use self-signed SSL certificate. Is CN=Rahul Kumar, OU=Web, O=TecAdmin Inc., L=Delhi, ST=Delhi, C=IN correct? What is the two-letter country code for this unit? What is the name of your State or Province?

install ssl on apache tomcat 8 ubuntu 16.04

What is the name of your City or Locality? What is the name of your organizational unit? keytool -genkey -alias -keyalg RSA -keystore /etc/pki/keystore We just need to make sure that JDK or JRE is configured with PATH environment variable. This command is available with JDK and JRE both. keytool is the command line utility for creating and managing keystore. A Java KeyStore (JKS) is a repository of security certificates.











Install ssl on apache tomcat 8 ubuntu 16.04