D
D
Dragon-off2017-04-09 16:49:51
tomcat
Dragon-off, 2017-04-09 16:49:51

What is needed to import a certificate (https)?

Good time.
The task is to install an ssl certificate on tomcat, I did not generate a CSR request, I was given 2 files 1.cer (contains a certificate for the domain site) 2.p7b (contains the entire chain).
1f3428bac0ae4238b5ef10e5c7d9c93c.png
92d4ba2946a747c5808a81b529d93d14.png

import p7b into keystore (java) fails, it says:
keytool error: java.lang.Exception: Input not an X.509 certificate

Setting example tomcat(server.xml)
maxThreads="150" SSLEnabled="true" scheme=" https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="tomcat.jks" alias="server" keystorePass="12345678"/> Tell me

which way to look.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question