...
Code Block |
---|
openssl_x509_parse($_SERVER['SSL_CLIENT_CERT'])); |
The result is an array of size 12 (I havn't verified this)...... no need to validate the cert since apache already did that......so, we would probably want to use the object with the 'subject' key:
Code Block |
---|
["subject"]=>
array(6) {
["C"]=>
string(2) "DE"
["ST"]=>
string(3) "NRW"
["O"]=>
string(10) "Filoo GmbH"
["OU"]=>
string(10) "Developers"
["CN"]=>
string(8) "Chrisfoo"
["emailAddress"]=>
string(10) "foo@bar.de"
}
|
—
Links
Anchor | ||||
---|---|---|---|---|
|
...