Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

openssl_get_cert_locations(3) [php man page]

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)

Check Out this Related Man Page

VAR_DUMP(3)								 1							       VAR_DUMP(3)

var_dump - Dumps information about a variable

SYNOPSIS
void var_dump (mixed $expression, [mixed $...]) DESCRIPTION
This function displays structured information about one or more expressions that includes its type and value. Arrays and objects are explored recursively with values indented to show structure. All public, private and protected properties of objects will be returned in the output unless the object implements a __debugInfo() method (implemented in PHP 5.6.0). Tip As with anything that outputs its result directly to the browser, the output-control functions can be used to capture the output of this function, and save it in a string (for example). PARAMETERS
o $expression - The variable you want to dump. RETURN VALUES
No value is returned. EXAMPLES
Example #1 var_dump(3) example <?php $a = array(1, 2, array("a", "b", "c")); var_dump($a); ?> The above example will output: array(3) { [0]=> int(1) [1]=> int(2) [2]=> array(3) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" } } <?php $b = 3.1; $c = true; var_dump($b, $c); ?> The above example will output: float(3.1) bool(true) SEE ALSO
print_r(3), debug_zval_dump(3), var_export(3), __debugInfo(). PHP Documentation Group VAR_DUMP(3)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

ssl certs

Hi all can anyone tell me how i can discover the strength of encryption in an ssl cert. I have used various methods ie apps and verisign web page but they just give me general info. I need to know the encryption level. The cert in question is used in Weblogic application for Solaris 8 any... (1 Reply)
Discussion started by: silvaman
1 Replies

2. UNIX for Advanced & Expert Users

configuring PHP 5

i've downloaded php 5 everything seems to be going smoothly except for onething.. i can't seem to locate the files... my question is do i have to manually place the lib in /usr/lib. how do I go about doing this and which other files have to be allocated.. thanx moxxx68 (3 Replies)
Discussion started by: moxxx68
3 Replies

3. Programming

Substitute string using location (preferably perl).

I have a string like. ATATATATTATTATATTATATTATT I want to substitute the characters to "C" by using these locations 3 7 10 18 15 20 desired Output: ATCCCCCTTACCCCCCCCCCTTATT any clue will be great help. :wall: thanks in advance. (2 Replies)
Discussion started by: admax
2 Replies

4. Red Hat

How to Find all the SSL certs on a give host Cent OS

Hi I am trying to find all the ssl certs installed/located on cent os Host , Please help . (1 Reply)
Discussion started by: smartguyz2012
1 Replies

5. Programming

Perl to extract ssl certs from xml file

HI Guys, I'm a newbie in perl. (4 Replies)
Discussion started by: jhamaks
4 Replies

6. Shell Programming and Scripting

Urgent !!

Hello All, I want to use scp for copying multiple files ( files locations are stored in an array ) from remote server from different locations without prompting password every time . I will supply password once and it should be able to copy every file mentioned in an array. eg :- array have ... (1 Reply)
Discussion started by: manpav
1 Replies