SSL certificat X509 problem

ssl

#1

Hello,

I am trying to configure my tomcat (Raspbian installed and java latest version) to allow https.
i am following this article : https://support.cloudflare.com/hc/en-us/articles/216992638

But in the step:

To install the SSL Certificate file to your keystore, type the following command:
keytool -import -trustcacerts -alias server -file cert.p7b -keystore your_site_name.jks
You should get a confirmation stating that the “Certificate reply was installed in keystore.”

I receive an error:

keytool error: java.lang.Exception: Input not an X.509 certificate

Do you have any idea ?

Thanks so much.


#2

Try to import it in PEM format (.crt)


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.