cadport.blogg.se

Installing tomcat on centos 7
Installing tomcat on centos 7











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? 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.

installing tomcat on centos 7

keytool is the command line utility for creating and managing keystore. Step 1 – Create a KeystoreĪ Java KeyStore (JKS) is a repository of security certificates. This article can be used for Linux as well as Windows hosts both, the only thing we need to change directory path of keystore.

#Installing tomcat on centos 7 install#

If not you can visit to earlier article Install Tomcat 7 on CentOS, RHEL or Ubuntu, Debian Systems. We are assuming that you already have installed working Tomcat server in your system.











Installing tomcat on centos 7