Skip to content

Perl module that provides Mozilla's CA cert bundle in PEM format

Notifications You must be signed in to change notification settings

gentoo-perl/mozilla-ca

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME
    Mozilla::CA - Mozilla's CA cert bundle in PEM format
    *** GENTOO STUB VERSION, SEE NOTES BELOW ***

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 "Can't connect: $@";

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

DESCRIPTION
    Mozilla::CA originally provided 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.

    This version does not contain any certificate files and instead points
    to the Gentoo central installation location.

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.

About

Perl module that provides Mozilla's CA cert bundle in PEM format

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%