Hai all,
           I am trying to communicate JSSE client with Openssl Server.
           I have created ca.cert , client.cert and server.cert using
openssl.
           
           when i tried to import client.cert which is signed by ca.cert
(self-signed) in openssl  into keystore ... It is showing these 
           type of error.
    
           If i have used -trustcacerts option, showing these errors.....

           keytool -import -trustcacerts  -keystore store2 -alias alias2
-file client.cert
           Enter keystore password:  prasad
           keytool error: java.lang.Exception: Input not an X.509 certificate


           If  i have converted client.cert(.pem format)  into
client.der(format which is understood by keytool)
           keytool -import -trustcacerts  -keystore store2 -alias alias2
-file client.cert
           Enter keystore password:  prasad
           keytool error: java.lang.Exception: Input not an X.509 certificate




           If i am trying to import client certificate without -trustcacerts
option  ... i am getting this type of errors.

           keytool -import -keystore store2 -alias alias2  -file client.cert
           Enter keystore password:  prasad
           keytool error: java.Security.cert.CertificateException: IO
Exception: sequence tag error          


           keytool -import  -keystore store2 -alias alias2  -file client.der
           Enter keystore password:  prasad
           keytool error: java.Security.cert.CertificateException: IO
Exception: insufficient data          

             

  Please help me...
Thanks.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to