openssl_get_cert_locations(3) php man page | unix.com

Man Page: openssl_get_cert_locations

Operating Environment: php

Section: 3

OPENSSL_GET_CERT_LOCATIONS(3)						 1					     OPENSSL_GET_CERT_LOCATIONS(3)

openssl_get_cert_locations - Retrieve the available certificate locations

SYNOPSIS
array openssl_get_cert_locations (void )
DESCRIPTION
openssl_get_cert_locations(3) returns an array with information about the available certificate locations that will be searched for SSL certificates.
PARAMETERS
This function has no parameters.
RETURN VALUES
Returns an array with the available certificate locations.
EXAMPLES
Example #1 openssl_get_cert_locations(3) example <?php var_dump(openssl_get_cert_locations()); ?> The above example will output: array(8) { ["default_cert_file"]=> string(21) "/usr/lib/ssl/cert.pem" ["default_cert_file_env"]=> string(13) "SSL_CERT_FILE" ["default_cert_dir"]=> string(18) "/usr/lib/ssl/certs" ["default_cert_dir_env"]=> string(12) "SSL_CERT_DIR" ["default_private_dir"]=> string(20) "/usr/lib/ssl/private" ["default_default_cert_area"]=> string(12) "/usr/lib/ssl" ["ini_cafile"]=> string(0) "" ["ini_capath"]=> string(0) "" } PHP Documentation Group OPENSSL_GET_CERT_LOCATIONS(3)
Related Man Pages
update-ca-certificates(8) - linux
ssl_rstate_string(3) - osx
cairo_available_surfaces(3) - php
mysqlnd_qc_get_available_handlers(3) - php
var_dump(3) - php
Similar Topics in the Unix Linux Community
configuring PHP 5
Just to Say &quot;HI&quot;!
Substitute string using location (preferably perl).
How to Find all the SSL certs on a give host Cent OS
Perl to extract ssl certs from xml file