Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to validate signature of a RSA/x509 cert in Perl

by beech (Parson)
on Mar 27, 2018 at 21:26 UTC ( #1211882=note: print w/replies, xml ) Need Help??


in reply to How to validate signature of a RSA/x509 cert in Perl

Hi,

Can you install Net::SSLeay? It seems to provide "X509_verify_cert" which Crypt::OpenSSL::VerifyX509 seems to use

  • Comment on Re: How to validate signature of a RSA/x509 cert in Perl

Replies are listed 'Best First'.
Re^2: How to validate signature of a RSA/x509 cert in Perl
by Anonymous Monk on Mar 28, 2018 at 19:03 UTC
    Indeed! I just found that myself, and am looking into it. That function was only added to Net::SSLeay in January, so I'll need to upgrade. Unfortunately, the usage information for those low-level functions is quiet terse. I'm currently puzzling over this, and how to get a "value corresponding to openssl's X509 structure"
    my $rv = Net::SSLeay::X509_STORE_add_cert($store, $x); # $store - value corresponding to openssl's X509_STORE structure # $x - value corresponding to openssl's X509 structure

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1211882]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2021-04-11 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?