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"