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

PHP reads certificate information_PHP tutorial

WBOY
Release: 2016-07-20 11:00:17
Original
1755 people have browsed it

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 $...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template