NSAPI and SSL Client Certificates
Posted: Mon Mar 24, 2003 9:46 am
I was looking for some definitive information on accessing SSL client certificates in PHP, when the PHP module is integrated as an NSAPI extension in Netscape/iPlanet Enterprise Web Server (6 and later). Looks like I can get the whole cert in the _SERVER["CLIENT_CERTIFICATE"] variable, but I am looking to get other certificate fields (Subject, Common Name) in the same manner. These are available in Apache/mod_ssl, but I am looking for similar thru NSAPI. I do NOT want to pass the cert to openssl_x509_parse. I am looking for either a server configuration that will add the individual certificate fields (something in obj.conf perhaps ?) to the environment, or a "pure" php certificate parser which I can use for the equivalent functionality.
Thanks for any info you can offer.
Thanks for any info you can offer.