How is MD5 fingerprint on X509 created?

2011-04-19 Thread Matt C
Hello, I am able to generate an MD5 fingerprint with the following command. openssl x509 -in user.pem -fingerprint -md5 -noout This fingerprint matches the fingerprint displayed by Thunderbird/Firefox. I am trying to generate an MD5 using a hash function in PHP,

Re: How is MD5 fingerprint on X509 created?

2011-04-19 Thread Matt C
Thank you Erik and Wim, that's exactly the information I needed! On Tue, Apr 19, 2011 at 2:27 PM, Wim Lewis w...@omnigroup.com wrote: On 19 Apr 2011, at 10:55 AM, Matt C wrote: Should I be hashing the entire contents of the PEM file, only part, or is there additional data I need to add

Date format for X.509 certificate

2011-04-19 Thread Matt C
I've extracted a date from a public certificate using the PHP command openssl_x509_parse. The date looks like this: 110419141516Z Can someone tell me how to make sense of this date (in PHP if possible). Thank you! Matt

Re: Date format for X.509 certificate

2011-04-19 Thread Matt C
[mailto: owner-openssl-us...@openssl.org] *On Behalf Of *Matt C *Sent:* Tuesday, April 19, 2011 5:19 PM *To:* openssl-users@openssl.org *Subject:* Date format for X.509 certificate I've extracted a date from a public certificate using the PHP command openssl_x509_parse. The date looks like