Skip to content

Instantly share code, notes, and snippets.

Created March 8, 2016 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e3dcea31a85b2ae477ff to your computer and use it in GitHub Desktop.
Save anonymous/e3dcea31a85b2ae477ff to your computer and use it in GitHub Desktop.
$VAR1 = bless( {
'_content' => 'Can\'t verify SSL peers without knowing which Certificate Authorities to trust
This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE
envirionment variable or by installing the Mozilla::CA module.
To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME
envirionment variable to 0. If you do this you can\'t be sure that you
communicate with the expected peer.
',
'_request' => bless( {
'_uri' => bless( do{\(my $o = 'https://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&iiprop=url&redirects&format=json&iiurlwidth=250&titles=File%3AThe%20Fabs.JPG')}, 'URI::https' ),
'_method' => 'GET',
'_content' => '',
'_headers' => bless( {
'user-agent' => 'musicbrainz-server/22 (localhost:8080) libwww-perl/6.05'
}, 'HTTP::Headers' )
}, 'HTTP::Request' ),
'_rc' => 500,
'_msg' => 'Can\'t verify SSL peers without knowing which Certificate Authorities to trust',
'_headers' => bless( {
'client-date' => 'Tue, 08 Mar 2016 00:00:24 GMT',
'client-warning' => 'Internal response',
'::std_case' => {
'client-warning' => 'Client-Warning',
'client-date' => 'Client-Date'
},
'content-type' => 'text/plain'
}, 'HTTP::Headers' )
}, 'HTTP::Response' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment