My understanding is that you can supply your own callback via LWP::UserAgent to do your own processing at the certificate-validation phase. That would avoid the need for a second connection. This isn't something I have done but the docs suggest it might be a feasible approach.
my $ua = LWP::UserAgent->new ( ssl_opts => { SSL_verify_callback => \&my_handler } );
🦛
In reply to Re: Getting an SSL Certificate Expiration Date
by hippo
in thread Getting an SSL Certificate Expiration Date
by enemyofthestate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |