[a206343] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 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">
|
---|
[4676c15d] | 8 | <!ENTITY my-md5sum "cf64e4bc57a9266ac4343cdf0808c5c8">
|
---|
[a206343] | 9 |
|
---|
| 10 | ]>
|
---|
| 11 |
|
---|
| 12 | <!-- Begin LWP::Protocol::https -->
|
---|
[4392a40] | 13 | <sect2 id="perl-lwp-protocol-https" xreflabel="LWP-Protocol-https-&LWP-Protocol-https-version;">
|
---|
[a206343] | 14 |
|
---|
| 15 | <title>LWP::Protocol::https-&LWP-Protocol-https-version;</title>
|
---|
| 16 |
|
---|
[4392a40] | 17 | <indexterm zone="perl-lwp-protocol-https">
|
---|
[a206343] | 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.
|
---|
[4392a40] | 26 | <xref linkend="perl-libwww-perl"/>). Once the module is installed
|
---|
[a206343] | 27 | LWP is able to access sites using HTTP over SSL/TLS.
|
---|
| 28 | </para>
|
---|
[10c6468b] | 29 |
|
---|
[b984aaa1] | 30 | &lfs112_checked;
|
---|
[a206343] | 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 |
|
---|
[10c6468b] | 46 | <bridgehead renderas="sect4">Additional Download</bridgehead>
|
---|
| 47 | <itemizedlist spacing="compact">
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Required patch:
|
---|
| 51 | <ulink url="&patch-root;/LWP-Protocol-https-&LWP-Protocol-https-version;-system_certs-2.patch"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | </itemizedlist>
|
---|
| 55 |
|
---|
[a206343] | 56 | <bridgehead renderas="sect4">LWP::Protocol::https Dependencies</bridgehead>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 59 | <para role="required">
|
---|
[4392a40] | 60 | <xref linkend="perl-io-socket-ssl"/>,
|
---|
[a206343] | 61 | <!-- perl-io-socket-ssl pulls in perl-net-ssleay -->
|
---|
[4392a40] | 62 | <xref linkend="perl-libwww-perl"/> and
|
---|
[a206343] | 63 | <!-- perl-libwww-perl pulls in perl-net-https -->
|
---|
[f46b4b4] | 64 | <xref linkend="make-ca"/> with
|
---|
| 65 | <literal>/etc/pki/tls/certs/ca-bundle.crt</literal>.
|
---|
[a206343] | 66 | </para>
|
---|
| 67 |
|
---|
| 68 | </sect3>
|
---|
| 69 |
|
---|
| 70 | <sect3 role="installation">
|
---|
| 71 | <title>Installation of LWP::Protocol::https</title>
|
---|
[10c6468b] | 72 |
|
---|
[a206343] | 73 | <para>
|
---|
| 74 | First, apply a patch to use the system certificates (using the CPAN
|
---|
| 75 | automated install will instead use <ulink
|
---|
| 76 | url="https://metacpan.org/pod/Mozilla::CA">Mozilla::CA</ulink> which
|
---|
| 77 | is usually not up to date and does not use local certificates).
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
[10c6468b] | 80 | <screen><userinput>patch -Np1 -i ../LWP-Protocol-https-&LWP-Protocol-https-version;-system_certs-2.patch</userinput></screen>
|
---|
| 81 |
|
---|
[a206343] | 82 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 83 | href="../../../xincludes/perl-standard-install.xml"/>
|
---|
| 84 |
|
---|
| 85 | </sect3>
|
---|
| 86 |
|
---|
| 87 | </sect2>
|
---|