Movatterモバイル変換


[0]ホーム

URL:


 / 
Mozilla-CA-20250202
River stage three • 87 direct dependents • 222 total dependents
/Mozilla::CA

NAME

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

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 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.

Module Install Instructions

To install Mozilla::CA, copy and paste the appropriate command in to your terminal.

cpanm

cpanm Mozilla::CA

CPAN shell

perl -MCPAN -e shellinstall Mozilla::CA

For more information on module installation, please visitthe detailed CPAN module installation guide.

Keyboard Shortcuts

Global
sFocus search bar
?Bring up this help dialog
GitHub
gpGo to pull requests
gigo to github issues (only if github is preferred repository)
POD
gaGo to author
gcGo to changes
giGo to issues
gdGo to dist
grGo to repository/SCM
gsGo to source
gbGo to file browse
Search terms
module: (e.g.module:Plugin)
distribution: (e.g.distribution:Dancer auth)
author: (e.g.author:SONGMU Redis)
version: (e.g.version:1.00)

[8]ページ先頭

©2009-2025 Movatter.jp