Home >Backend Development >PHP Tutorial >PHP reads certificate information_PHP tutorial

PHP reads certificate information_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-20 11:00:171806browse

These are all PHP’s built-in functions

echo $_SERVER["CERT_FLAGS"]."";//Use certificate identification, 1 or 0
echo $_SERVER["CERT_ISSUER"]."";//Issuing authority
echo $_SERV R["CERT_SERIALNUMBER"]."";//Serial number
echo $_SERVER["CERT_SUBJECT"]."";//Topic
echo $_SERVER["HTTPS"]."";//https switch, on or off
echo $_SERVER["HTTPS_KEYSIZE"]."";//Key length, 128
echo $_SERVER["HTTPS_SECRETKEYSIZE"]."";//Encryption strength, 1024
echo $_SERVER["HTTPS_SERVER_ISSUER"]."";//Server Certificate Authority
echo $_SERVER["HTTPS_SERVER_SUBJECT"]."";//Server certificate subject


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445533.htmlTechArticleThese are the built-in functions of php echo $_SERVER[CERT_FLAGS].;//Use the certificate identification, 1 or 0 echo $_SERVER[CERT_ISSUER].;//Issuing authority echo $_SERV R[CERT_SERIALNUMBER].;//Serial number echo $...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn