Hello Jason! Thank you for that piece of information, it solved my problem. I just needed 2 carriage returns! I don't know why and how, but it works just fine!
Thanks a lot! Marin ----- Original Message ----- From: "Jason Barr" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 26, 2002 4:39 PM Subject: Re: Problem with importing reply certificate from CA > HI Marin, > > Have a look at our FAQ's (even though it is Verisign, the reason should be the > same:) > > http://www.thawte.com/support/developer/javasoft.html > > Cheers, > > > Marin Odrljin wrote: > > > Hello everybody! > > > > I have problem with importing cert reply from VeriSign. > > I'm using jdk1.3 and I made my keys with keytool. Than I sent CSR to > > VerySign and they gave me signed certificate in Internet RFC 1421 > > Certificate Encoding Standard (Base 64 encoding) which begins like: > > > > -----BEGIN CERTIFICATE----- > > and ends like: > > -----END CERTIFICATE----- > > > > I have problem when I try to import it with same alias (tomcat) or even > > different. I know that keystore format (default) is jks and reply is in > > pkcs7 format. > > When I try to import certificate (with same alias I used for -genkey) I got > > a message: > > keytool error: java.security.cert.CertificateException: Unsupported > > encoding, > > and when I try import it with different alias I got message: > > keytool error: java.lang.Exception: Input not a X.509 certificate > > > > In keytool documentation is written that keytool -import command can > > actually import binary encoding format or printable format (Internet RFC > > 1421 Certificate Encoding Standard) but I can't import that printable! Why I > > didn't got .cer file and how I can import that printable? > > > > Thank you very much!!! > > Marin > > -- > Jason Barr > Vendor Manager > Thawte Tech Support > www.thawte.com/cgi/support/contents.exe > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>