On Sun, May 17, 2015 at 9:42 PM, Chris Ridd <chrisr...@mac.com> wrote:

>
> > So this works, but I see no method to get the fingerprint. Is there a
> way to get it from the info I get from ldap?
>
> This code uses Net::SSLeay to extract a fingerprint from something like
> your $cert.
>
>
> http://cpansearch.perl.org/src/MIKEM/Net-SSLeay-1.46/examples/x509_cert_details.pl
>
>
Hi, thanks for your answer..

I ended up using Digest::SHA1 on $cert and massaging  the digest, I got the
sha1 fingerprints like that.


--
Groeten,
natxo

Reply via email to