![]() Add The following line under KeystorePass=.Change the following attributes to reference the location, name, and password of your keystore.By default it should look something like this: Search for the secure element in your config file (try searching for SSL Connector). Open the server.xml config file using a text editor (ie.On the Tomcat server search and open the Tomcat server.xml file.Step 2: Configuring SSL in Tomcat with your keystore: So your intermediate file should look like something like this. Paste the copied contents directly beneath the -–END CERTIFICATE-– line of the bottom of the intermediate certificate.Copy the contents of the root certificate below: (including the -–BEGIN CERTIFICATE-– and -–END CERTIFICATE-– lines).crt with a plain text editor such as Notepad or Vi To append the root certificate file perform the following: Note: If you receive the following error: “Error unable to get issuer certificate getting chain” it means that you will have to append the Root certificate that correlates with your SSL Certificate product to the bottom of you intermediate.crt file.The exported keystore will be ‘ mycert.p12‘ and will be ready for you to migrate to the Tomcat server.Note: you will be prompted for a password. Using OpenSSL on the Apache system you will perform the following command line conversion.Copy the three files located within these directories into one location.SSLCertificateChainFile or SSLCACertificateFile tells Apache the location of the Intermediate file. SSLCertificateChainFile /usr/local/ssl/crt/intermediate.crt.SSLCertificateKeyFile tells Apache how to find the private key file. SSLCertificateKeyFile /usr/local/ssl/private/private.key. ![]() SSLCertificateFile tells Apache how to find the the SSL certificate file. SSLCertificateFile /usr/local/ssl/crt/public.crt.Referencing the nf or ssl.conf file on the Apache system look for the location and directories of the three files necessary.Step 1: Finding/converting your SSL certificate and key file on Apache: We will start by assuming that you have already successfully installed the SSL certificate on the Apache web server. The directory location and naming of the individual files needed vary depending on your personalized system. You will follow these steps to copy, convert, and move the working Apache certificate to the Tomcat server.īoth Apache and Tomcat are very customizable. Apache uses x509 pem/crt files which is is very different than a Tomcat system that uses keystores. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |