OPENSSL_GET_CERT_LOCATIONS(3) 1 OPENSSL_GET_CERT_LOCATIONS(3)openssl_get_cert_locations - Retrieve the available certificate locationsSYNOPSIS
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 variableSYNOPSIS
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)
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)
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)
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)
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)