S
S
sammy12017-08-02 18:39:30
tomcat
sammy1, 2017-08-02 18:39:30

How to install SSL certificate on Apache Tomcat?

There is a COMODO SSL certificate that needs to be installed on Apache Tomcat 7. How to do it?
https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html
Found the instruction here
To import an existing certificate signed by your own CA into a PKCS12 keystore using OpenSSL you would execute a command like:
openssl pkcs12 - export -in mycert.crt -inkey mykey.key -out mycert.p12 -name tomcat -CAfile myCA.crt -caname root -chain
I have mycert.crt and mykey.key files. I don't understand what myCA.crt is.
I tried to execute this command, it gives an error
unable to get local issuer certificate getting chain
How to do it right? I'm not even sure if I'm heading in the right direction.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2017-08-02
@CityCat4

myCA.crt is the certificate of the CA that issued you the certificate, if it is Komodo, he should have sent it along with your certificate - well, you can always download it from their website. Just replace myCA.crt with the Komodo Root Certificate Filename

D
Dimonchik, 2017-08-02
@dimonchik2013

see the terminology , as you figure it out - the manual will become simple

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question