[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[a206343] | 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">
|
---|
[83fc27c] | 8 | <!ENTITY my-md5sum "65401e3e34be653c9e3b31f798ed5454">
|
---|
[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 |
|
---|
[6c64eaec] | 30 | &lfs122_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 |
|
---|
[80a51925] | 46 | <!--
|
---|
[10c6468b] | 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>
|
---|
[80a51925] | 56 | -->
|
---|
[10c6468b] | 57 |
|
---|
[a206343] | 58 | <bridgehead renderas="sect4">LWP::Protocol::https Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 61 | <para role="required">
|
---|
[4392a40] | 62 | <xref linkend="perl-io-socket-ssl"/>,
|
---|
[a206343] | 63 | <!-- perl-io-socket-ssl pulls in perl-net-ssleay -->
|
---|
[76bf77a] | 64 | <xref linkend="perl-libwww-perl"/>, and
|
---|
[a206343] | 65 | <!-- perl-libwww-perl pulls in perl-net-https -->
|
---|
[f46b4b4] | 66 | <xref linkend="make-ca"/> with
|
---|
| 67 | <literal>/etc/pki/tls/certs/ca-bundle.crt</literal>.
|
---|
[a206343] | 68 | </para>
|
---|
| 69 |
|
---|
| 70 | </sect3>
|
---|
| 71 |
|
---|
| 72 | <sect3 role="installation">
|
---|
| 73 | <title>Installation of LWP::Protocol::https</title>
|
---|
[10c6468b] | 74 |
|
---|
[80a51925] | 75 | <!-- Applied upstream in 6.11
|
---|
[a206343] | 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 |
|
---|
[10c6468b] | 83 | <screen><userinput>patch -Np1 -i ../LWP-Protocol-https-&LWP-Protocol-https-version;-system_certs-2.patch</userinput></screen>
|
---|
[80a51925] | 84 | -->
|
---|
[10c6468b] | 85 |
|
---|
[a206343] | 86 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 87 | href="../../../xincludes/perl-standard-install.xml"/>
|
---|
| 88 |
|
---|
| 89 | </sect3>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|