Re: X.509 cert not exporting CA chain?
- From: Ronny Schuetz <Usenet.r96@xxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 11:04:33 +0200
Thanks - there were indeed 2 certs, so I deleted one.
No problem.
openssl s_client -connect 66.166.204.121:8443 -showcerts
CONNECTED(00000003)
depth=2 /C=ZA/ST=Western Cape/L=Cape Town/O=Thawte Consulting/OU=Certification Services Division/CN=Thawte Personal Freemail CA/emailAddress=personal-freemail@xxxxxxxxxx
verify error:num=19:self signed certificate in certificate chain
verify return:0
---
Certificate chain
0 s:/SN=Shenhar/GN=Ran/CN=Ran Shenhar/emailAddress=ran.shenhar@xxxxxxxxxxxx
i:/C=ZA/O=Thawte Consulting (Pty) Ltd./CN=Thawte Personal Freemail Issuing CA
<snipped>
FF3 gives me Error code: sec_error_untrusted_issuer, IE7 won't even connect.
Any ideas?
Yes. The certificate is not intended to be used as server certificate but to encrypt/sign e-mails. So for example the server name is not in the CN field of the certificate subject.
The certificate might be usable for code signing (which was as far as I know your original intention), but not as server certificate.
So in case you need SSL connectivity, you need to obtain a server certificate from for example Verisign or GoDaddy or so. In case you don't need SSL, you can make your JavaWS application accessible via HTTP and still use the Thawte certificate to sign the application code.
One additional note: Your Thawte certificate does not contain a key usage or extended key usage extension which is usually used to specify the purpose of the certificate, i.e. if you're allowed to use it for client or server authentication (for SSL) or if you're allowed to use it for code signing (for example for JavaWS). I don't know, if JavaWS accepts it for code signing, you have to test that. There might be even differences between Java 5 and Java 6, as for example Java 6 is explicitly checking the code signing flag in the extended key usage extension now as far as I know. As this extension is not present at all it might work - or not.
Ronny
.
- References:
- X.509 cert not exporting CA chain?
- From: R@nsh!
- Re: X.509 cert not exporting CA chain?
- From: Ronny Schuetz
- Re: X.509 cert not exporting CA chain?
- From: R@nsh!
- Re: X.509 cert not exporting CA chain?
- From: Ronny Schuetz
- Re: X.509 cert not exporting CA chain?
- From: R@nsh!
- X.509 cert not exporting CA chain?
- Prev by Date: Re: Translate attempt
- Next by Date: Re: Timer Schedule TimerTask for same hour every day
- Previous by thread: Re: X.509 cert not exporting CA chain?
- Next by thread: Re: X.509 cert not exporting CA chain?
- Index(es):
Relevant Pages
|