use strict; use warnings; ## !!! make sure that Net::SSL never gets loaded, otherwise it will ## be used instead of IO::Socket::SSL from LWP use IO::Socket::SSL 'debug0'; use LWP::Simple; IO::Socket::SSL::set_ctx_defaults( SSL_verifycn_scheme => 'www', SSL_verify_mode => 1, SSL_ca_file => 'verisign.pem', # root CA of verisign ); print get( 'https://signin.ebay.com' );
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
async_https_server.pl.gz | File | 1.55 KB | 0644 |
|
lwp-with-verifycn.pl | File | 382 B | 0644 |
|
simulate_proxy.pl.gz | File | 4.12 KB | 0644 |
|
ssl_client.pl | File | 1.92 KB | 0644 |
|
ssl_mitm.pl | File | 1.76 KB | 0644 |
|
ssl_server.pl | File | 2.4 KB | 0644 |
|