Go Back   Wireless and Wifi Forums > News > Newsgroups > comp.security.misc
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-21-2007, 02:38 AM
yawnmoth
Guest
 
Posts: n/a
Default sample X.509 certificates?

I'd like to see how the X.509 certificate of a certificate authority
looks like. They're built into browsers, but I'd like to see the DER-
encoded version.

Also, according to what I've read about SSL/TLS, the client and the
server each send their own X.509 certificate. How might I go about
getting the latter? The client's (for example, FireFox's) X.509
certificate? I tried using WireShark to capture the packets as they
were being sent out but didn't see the certificates there...


Reply With Quote
  #2 (permalink)  
Old 02-21-2007, 05:44 AM
Doug McIntyre
Guest
 
Posts: n/a
Default Re: sample X.509 certificates?

"yawnmoth" <terra1024@yahoo.com> writes:
>I'd like to see how the X.509 certificate of a certificate authority
>looks like. They're built into browsers, but I'd like to see the DER-
>encoded version.


Look for the CAcertbundle from the Mozilla project. Won't look much
different than you'd see for any other cert.

>Also, according to what I've read about SSL/TLS, the client and the
>server each send their own X.509 certificate. How might I go about
>getting the latter? The client's (for example, FireFox's) X.509
>certificate? I tried using WireShark to capture the packets as they
>were being sent out but didn't see the certificates there...


Client X.509 certificates are very rare.

You should see the server X.509 certificate going over the wire during
conversation though. ie. use 'openssl s_client' command line command
and it'll dump it out for you as it talks.


Reply With Quote
  #3 (permalink)  
Old 02-21-2007, 12:08 PM
Ertugrul Soeylemez
Guest
 
Posts: n/a
Default Re: sample X.509 certificates?

"yawnmoth" <terra1024@yahoo.com> (07-02-20 18:38:50):

> I'd like to see how the X.509 certificate of a certificate authority
> looks like. They're built into browsers, but I'd like to see the DER-
> encoded version.


A CA certificate is basically a normal self-signed certificate. Nothing
more, nothing less. The encoding doesn't change much about the
contents.


> Also, according to what I've read about SSL/TLS, the client and the
> server each send their own X.509 certificate. How might I go about
> getting the latter? The client's (for example, FireFox's) X.509
> certificate?


Just generate it. You need to have it signed by somebody, either by
yourself (resulting in a self-signed certificate), by a friend (if Bob
knows them) or by a CA.


Regards,
E.S.

Reply With Quote
  #4 (permalink)  
Old 02-21-2007, 07:25 PM
Bruce Stephens
Guest
 
Posts: n/a
Default Re: sample X.509 certificates?

"yawnmoth" <terra1024@yahoo.com> writes:

> I'd like to see how the X.509 certificate of a certificate authority
> looks like. They're built into browsers, but I'd like to see the DER-
> encoded version.


The ca-certificates package from Debian contains many in PEM format.
<http://packages.debian.org/unstable/misc/ca-certificates>. You can
convert using OpenSSL: openssl x509 -in <pem-file> -outform DER -out <der-file>.

PKITS provides a source of test certs and CRLs:
<http://csrc.nist.gov/pki/testing/x509paths.html>.

> Also, according to what I've read about SSL/TLS, the client and the
> server each send their own X.509 certificate.


That's relatively rare.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony Ericsson W810i... mp4 files and internet certificates. Banana uk.telecom.mobile 4 09-25-2006 12:35 PM
[SSL-Talk List FAQ] Secure Sockets Layer Discussion List FAQ v1.1.1 Shannon Appel comp.security.misc 0 10-19-2005 05:37 AM
[SSL-Talk List FAQ] Secure Sockets Layer Discussion List FAQ v1.1.1 Shannon Appel comp.security.misc 0 08-30-2005 05:26 AM
[SSL-Talk List FAQ] Secure Sockets Layer Discussion List FAQ v1.1.1 Shannon Appel comp.security.misc 0 07-31-2005 05:25 AM
What are the differences between the certificates *.pfx *.p12 *.cer *.crt *.spc *.p7b ?? Frank Callone comp.security.misc 2 07-21-2005 03:10 PM


All times are GMT. The time now is 05:52 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45