ndpgroup / juniper-srx-linux

Support tools for Juniper SRX on Linux
BSD 2-Clause "Simplified" License
10 stars 2 forks source link

SSL verify #6

Open blodone opened 7 years ago

blodone commented 7 years ago

Hi,

if SSL certificate is own built and verify fails PERL_LWP_SSL_VERIFY_HOSTNAME=0 is not working alone. I had to change the line with new LWP::UserAgent(... to my $ua = new LWP::UserAgent(cookie_jar => $cookies, timeout => 300, max_redirect => 1, ssl_opts => { verify_hostname => 0, SSL_verify_mode => 0x00 });