mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
81 lines
3.1 KiB
HTML
81 lines
3.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||
<title>检索可用的证书位置</title>
|
||
</head>
|
||
<body class="docs"><div id="layout">
|
||
<div id="layout-content"><div id="function.openssl-get-cert-locations" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">openssl_get_cert_locations</h1>
|
||
<p class="verinfo">(PHP 5 >= 5.6.0, PHP 7)</p><p class="refpurpose"><span class="refname">openssl_get_cert_locations</span> — <span class="dc-title">检索可用的证书位置</span></p>
|
||
|
||
</div>
|
||
|
||
<div class="refsect1 description" id="refsect1-function.openssl-get-cert-locations-description">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>openssl_get_cert_locations</strong></span>
|
||
( <span class="methodparam">void</span>
|
||
) : <span class="type">array</span></div>
|
||
|
||
<p class="para rdfs-comment">
|
||
<span class="function"><strong>openssl_get_cert_locations()</strong></span> 返回一个数组,其中包含要搜索SSL证书的可用证书位置的信息。
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 parameters" id="refsect1-function.openssl-get-cert-locations-parameters">
|
||
<h3 class="title">参数</h3>
|
||
<p class="para">此函数没有参数。</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 returnvalues" id="refsect1-function.openssl-get-cert-locations-returnvalues">
|
||
<h3 class="title">返回值</h3>
|
||
<p class="para">
|
||
返回一个带有可用证书位置信息的数组。
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 examples" id="refsect1-function.openssl-get-cert-locations-examples">
|
||
<h3 class="title">范例</h3>
|
||
<p class="para">
|
||
<div class="example" id="example-933">
|
||
<p><strong>Example #1 <span class="function"><strong>openssl_get_cert_locations()</strong></span> 范例</strong></p>
|
||
<div class="example-contents">
|
||
<div class="phpcode"><pre><span style="color: #000000">
|
||
<span style="color: #0000BB"><?php<br />var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">openssl_get_cert_locations</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?></span>
|
||
</span>
|
||
</pre></div>
|
||
</div>
|
||
|
||
<div class="example-contents"><p>以上例程会输出:</p></div>
|
||
<div class="example-contents screen">
|
||
<div class="cdata"><pre>
|
||
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) ""
|
||
}
|
||
</pre></div>
|
||
</div>
|
||
</div>
|
||
</p>
|
||
</div>
|
||
|
||
</div></div></div></body></html> |