1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY my-download-http "&perl_authors;/id/O/OA/OALDERS/LWP-Protocol-https-&LWP-Protocol-https-version;.tar.gz">
|
---|
8 | <!ENTITY my-md5sum "65401e3e34be653c9e3b31f798ed5454">
|
---|
9 |
|
---|
10 | ]>
|
---|
11 |
|
---|
12 | <!-- Begin LWP::Protocol::https -->
|
---|
13 | <sect2 id="perl-lwp-protocol-https" xreflabel="LWP-Protocol-https-&LWP-Protocol-https-version;">
|
---|
14 |
|
---|
15 | <title>LWP::Protocol::https-&LWP-Protocol-https-version;</title>
|
---|
16 |
|
---|
17 | <indexterm zone="perl-lwp-protocol-https">
|
---|
18 | <primary sortas="a-LWP-Protocol-https">LWP::Protocol::https</primary>
|
---|
19 | </indexterm>
|
---|
20 |
|
---|
21 | <sect3 role="package">
|
---|
22 | <title>Introduction to LWP::Protocol::https</title>
|
---|
23 |
|
---|
24 | <para>
|
---|
25 | LWP::Protocol::https provides https support for LWP::UserAgent (i.e.
|
---|
26 | <xref linkend="perl-libwww-perl"/>). Once the module is installed
|
---|
27 | LWP is able to access sites using HTTP over SSL/TLS.
|
---|
28 | </para>
|
---|
29 |
|
---|
30 | &lfs122_checked;
|
---|
31 |
|
---|
32 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
33 | <itemizedlist spacing="compact">
|
---|
34 | <listitem>
|
---|
35 | <para>
|
---|
36 | Download (HTTP): <ulink url="&my-download-http;"/>
|
---|
37 | </para>
|
---|
38 | </listitem>
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download MD5 sum: &my-md5sum;
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | </itemizedlist>
|
---|
45 |
|
---|
46 | <!--
|
---|
47 | <bridgehead renderas="sect4">Additional Download</bridgehead>
|
---|
48 | <itemizedlist spacing="compact">
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Required patch:
|
---|
52 | <ulink url="&patch-root;/LWP-Protocol-https-&LWP-Protocol-https-version;-system_certs-2.patch"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | </itemizedlist>
|
---|
56 | -->
|
---|
57 |
|
---|
58 | <bridgehead renderas="sect4">LWP::Protocol::https Dependencies</bridgehead>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
61 | <para role="required">
|
---|
62 | <xref linkend="perl-io-socket-ssl"/>,
|
---|
63 | <!-- perl-io-socket-ssl pulls in perl-net-ssleay -->
|
---|
64 | <xref linkend="perl-libwww-perl"/>, and
|
---|
65 | <!-- perl-libwww-perl pulls in perl-net-https -->
|
---|
66 | <xref linkend="make-ca"/> with
|
---|
67 | <literal>/etc/pki/tls/certs/ca-bundle.crt</literal>.
|
---|
68 | </para>
|
---|
69 |
|
---|
70 | </sect3>
|
---|
71 |
|
---|
72 | <sect3 role="installation">
|
---|
73 | <title>Installation of LWP::Protocol::https</title>
|
---|
74 |
|
---|
75 | <!-- Applied upstream in 6.11
|
---|
76 | <para>
|
---|
77 | First, apply a patch to use the system certificates (using the CPAN
|
---|
78 | automated install will instead use <ulink
|
---|
79 | url="https://metacpan.org/pod/Mozilla::CA">Mozilla::CA</ulink> which
|
---|
80 | is usually not up to date and does not use local certificates).
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <screen><userinput>patch -Np1 -i ../LWP-Protocol-https-&LWP-Protocol-https-version;-system_certs-2.patch</userinput></screen>
|
---|
84 | -->
|
---|
85 |
|
---|
86 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
87 | href="../../../xincludes/perl-standard-install.xml"/>
|
---|
88 |
|
---|
89 | </sect3>
|
---|
90 |
|
---|
91 | </sect2>
|
---|