GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOZILLA::CA (3)

.ds Aq ’

NAME

Mozilla::CA - Mozilla’s CA cert bundle in PEM format

CONTENTS

SYNOPSIS



    use IO::Socket::SSL;
    use Mozilla::CA;

    my $host = "www.paypal.com";
    my $client = IO::Socket::SSL->new(
        PeerHost => "$host:443",
        SSL_verify_mode => 0x02,
        SSL_ca_file => Mozilla::CA::SSL_ca_file(),
    )
        || die "Cant connect: $@";

    $client->verify_hostname($host, "http")
        || die "hostname verification failure";



DESCRIPTION

Mozilla::CA provides a copy of Mozilla’s bundle of Certificate Authority certificates in a form that can be consumed by modules and libraries based on OpenSSL.

The module provide a single function:
SSL_ca_file() Returns the absolute path to the Mozilla’s CA cert bundle PEM file.

SEE ALSO

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

LICENSE

For the bundled Mozilla CA PEM file the following applies:

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

The Mozilla::CA distribution itself is available under the same license.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOZILLA::CA (3) 2016-01-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.