On Tue, 22 Mar 2005 04:10:09 +0900, Magnus Bodin <magnus / bodin.org> wrote:
> When doing peer certificate verifications, one should save the ca_certs
> in the ca_path in a filename that matches the "hash" of the ca_cert with
> the extension '.0'. This works ONLY if you calculate the hash from the
> commandline. HOW DO YOU calculate the 'correct' hash from ruby?
Isn't the extension intended for dealing with collisions? 

I.e. what are you supposed to do when you have two certificates in the
same "store" with the same hash, but entirely different DN's?
Increment it to .1?

Just curious,
Leon