Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Hash values of certificates

Help
Hungerburg
2012-05-16
2013-03-09
  • Hungerburg
    Hungerburg
    2012-05-16

    I created a CA and several certificates below that one (Version 0.8.1). I then ran c_rehash on the exported files. Curiously, they all receive the same hash value, only the instance counter increases. Have I done something wrong?

     
  • I assume all your certificates have the same subject,
    because c_rehash only hashes the subject. The same subject results in the same hash.

    XCA also displays the hash on the subject page of the certificate details.

    Hint: the hash algorithm changed from openssl 0.9.8 to 1.0.0
    (the same subject results in different hashes depending on the openssl version.)

     
  • Hungerburg
    Hungerburg
    2012-05-18

    Yes indeed, all share the same subject! Thank You Chris, I was a little worried.

    PS: This is with openssl 0.9.8k. xca 0.8.1 (I will wait for ubuntu 12.4.1 with upgrade), which already is a very polished piece of software.