1LWP::Protocol::https(3)User Contributed Perl DocumentatioLnWP::Protocol::https(3)
2
3
4

NAME

6       LWP::Protocol::https - Provide https support for LWP::UserAgent
7

SYNOPSIS

9         use LWP::UserAgent;
10
11         $ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 1 });
12         $res = $ua->get("https://www.example.com");
13

DESCRIPTION

15       The LWP::Protocol::https module provides support for using https
16       schemed URLs with LWP.  This module is a plug-in to the LWP protocol
17       handling, so you don't use it directly.  Once the module is installed
18       LWP is able to access sites using HTTP over SSL/TLS.
19
20       If hostname verification is requested by LWP::UserAgent's "ssl_opts",
21       and neither "SSL_ca_file" nor "SSL_ca_path" is set, then "SSL_ca_file"
22       is implied to be the one provided by Mozilla::CA.  If the Mozilla::CA
23       module isn't available SSL requests will fail.  Either install this
24       module, set up an alternative "SSL_ca_file" or disable hostname
25       verification.
26
27       This module used to be bundled with the libwww-perl, but it was
28       unbundled in v6.02 in order to be able to declare its dependencies
29       properly for the CPAN tool-chain.  Applications that need https support
30       can just declare their dependency on LWP::Protocol::https and will no
31       longer need to know what underlying modules to install.
32

SEE ALSO

34       IO::Socket::SSL, Crypt::SSLeay, Mozilla::CA
35
37       Copyright 1997-2011 Gisle Aas.
38
39       This library is free software; you can redistribute it and/or modify it
40       under the same terms as Perl itself.
41
42
43
44perl v5.16.3                      2013-04-29           LWP::Protocol::https(3)
Impressum