• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Mozilla/H01-Oct-2021-3,2303,041

t/H01-Oct-2021-1914

ChangesH A D01-Oct-20211.8 KiB6449

MANIFESTH A D01-Oct-2021320 1211

META.jsonH A D01-Oct-20211.5 KiB6261

META.ymlH A D01-Oct-2021833 3029

Makefile.PLH A D01-Oct-20211.5 KiB5652

READMEH A D01-Mar-20181.2 KiB4129

mk-ca-bundle.plH A D01-Oct-202120.9 KiB626506

update-cacert-fileH A D01-Oct-2021845 3624

README

1NAME
2    Mozilla::CA - Mozilla's CA cert bundle in PEM format
3
4SYNOPSIS
5        use IO::Socket::SSL;
6        use Mozilla::CA;
7
8        my $host = "www.paypal.com";
9        my $client = IO::Socket::SSL->new(
10            PeerHost => "$host:443",
11            SSL_verify_mode => 0x02,
12            SSL_ca_file => Mozilla::CA::SSL_ca_file(),
13        )
14            || die "Can't connect: $@";
15
16        $client->verify_hostname($host, "http")
17            || die "hostname verification failure";
18
19DESCRIPTION
20    Mozilla::CA provides a copy of Mozilla's bundle of Certificate Authority
21    certificates in a form that can be consumed by modules and libraries
22    based on OpenSSL.
23
24    The module provide a single function:
25
26    SSL_ca_file()
27        Returns the absolute path to the Mozilla's CA cert bundle PEM file.
28
29SEE ALSO
30    <http://curl.haxx.se/docs/caextract.html>
31
32LICENSE
33    For the bundled Mozilla CA PEM file the following applies:
34
35        This Source Code Form is subject to the terms of the Mozilla Public
36        License, v. 2.0. If a copy of the MPL was not distributed with this
37        file, You can obtain one at http://mozilla.org/MPL/2.0/.
38
39    The Mozilla::CA distribution itself is available under the same license.
40
41