LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   keytool error: java.lang.Exception: Input not an X.509 certificate (https://www.linuxquestions.org/questions/linux-server-73/keytool-error-java-lang-exception-input-not-an-x-509-certificate-540681/)

ChrisScott 03-26-2007 06:33 AM

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

I'm trying to imort an SSL cert using:

Code:

keytool -import -alias company.co.uk -keystore /etc/java_keystore -file file.cer
where file.cer is the certificate cut and pasted from
Code:

openssl s_client -connect server:995
after entering a keystore password I get the message:

Code:

keytool error: java.lang.Exception: Input not an X.509 certificate
Nothing that I've found online seems relevent.

Any ideas would be appreciated.

Chris.

philipina 09-13-2007 02:48 AM

Hello,

I'm face to the same situation.
Did you find the solution to this X509 error?

Thanks in advance.

Alain


All times are GMT -5. The time now is 12:36 PM.