Hi list,

I'm trying to calculate a certificate digest using X509_digest.  I created an X509 certificate (self-signed) programmatically with X509_new (and I set the version and the organization and country etc with X509_NAME_add_entry_by_txt)..  I then call X509_set_issuer_name and use X509_sign to self-sign my cert.  Then I get the PEM representation of this cert with PEM_write_bio_X509.  After I read this PEM text back in, I get a new X509 - which gives me a differenct digest than what I got before I wrote to PEM.  However, every time I read the PEM, I get the same fingerprint.  It looke like writing to PEM somehow changes the fingerprint.  What do I do to fix this?
 
Thank you very much,
-M


Find your next car at Yahoo! Canada Autos

Reply via email to