Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

How can I access an ssl client certificate using PHP?

$
0
0

From what I've seen, I can access the subject from the environment variable "CERT_SUBJECT".  How, though, can I access the entire certificate?  Or at least the public key?

Basically I'm looking for the PHP equivilent to the .NET "Context.Request.ClientCertificate.Certificate"

OR

The IIS server variable equivilent to the Apache "SSL_CLIENT_CERT"


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>