What you need to import the certificate (https)?

Good time.
The challenge is to install an ssl certificate on tomcat, the CSR I was formed, I was given 2 of file 1.cer(the certificate contains the domain of the website) 2.p7b(contains the whole chain).

p7b to import in the keystore (java) does not work writes that:
keytool error: java.lang.Exception: Input not an X. 509 certificate

Example settings for tomcat(server.xml)

Prompt in what direction to look.
June 27th 19 at 14:54

Find more questions by tags Digital certificatesHTTPSTomcat