1Mozilla::CA(3)        User Contributed Perl Documentation       Mozilla::CA(3)
2
3
4

NAME

6       Mozilla::CA - Mozilla's CA cert bundle in PEM format
7

SYNOPSIS

9           use IO::Socket::SSL;
10           use Mozilla::CA;
11
12           my $host = "www.paypal.com";
13           my $client = IO::Socket::SSL->new(
14               PeerHost => "$host:443",
15               SSL_verify_mode => 0x02,
16               SSL_ca_file => Mozilla::CA::SSL_ca_file(),
17           )
18               || die "Can't connect: $@";
19
20           $client->verify_hostname($host, "http")
21               || die "hostname verification failure";
22

DESCRIPTION

24       Mozilla::CA provides a copy of Mozilla's bundle of Certificate
25       Authority certificates in a form that can be consumed by modules and
26       libraries based on OpenSSL.
27
28       The module provide a single function:
29
30       SSL_ca_file()
31           Returns the absolute path to the Mozilla's CA cert bundle PEM file.
32

SEE ALSO

34       <http://curl.haxx.se/docs/caextract.html>
35

LICENSE

37       For the bundled Mozilla CA PEM file the following applies:
38
39           The contents of this file are subject to the Mozilla Public License
40           Version 1.1 (the "License"); you may not use this file except in
41           compliance with the License. You may obtain a copy of the License
42           at http://www.mozilla.org/MPL/
43
44           Software distributed under the License is distributed on an "AS IS"
45           basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
46           the License for the specific language governing rights and
47           limitations under the License.
48
49           The Original Code is the Netscape security libraries.
50
51           The Initial Developer of the Original Code is Netscape
52           Communications Corporation.  Portions created by the Initial
53           Developer are Copyright (C) 1994-2000 the Initial Developer. All
54           Rights Reserved.
55
56           Alternatively, the contents of this file may be used under the
57           terms of either the GNU General Public License Version 2 or later
58           (the "GPL"), or the GNU Lesser General Public License Version 2.1
59           or later (the "LGPL"), in which case the provisions of the GPL or
60           the LGPL are applicable instead of those above. If you wish to
61           allow use of your version of this file only under the terms of
62           either the GPL or the LGPL, and not to allow others to use your
63           version of this file under the terms of the MPL, indicate your
64           decision by deleting the provisions above and replace them with the
65           notice and other provisions required by the GPL or the LGPL. If you
66           do not delete the provisions above, a recipient may use your
67           version of this file under the terms of any one of the MPL, the GPL
68           or the LGPL.
69
70       The Mozilla::CA distribution itself is available under the same
71       license.
72
73
74
75perl v5.16.3                      2014-06-10                    Mozilla::CA(3)
Impressum