Я новичок в Apache PKI сертификатов и PHP. Я пытаюсь найти переменную среды SSL_CLIENT_SAN_ (электронная почта) в массиве $ _SERVER (php). Я вижу другие переменные окружения mod_ssl, но не SSL_CLIENT_SAN_ *.
Я использую Wamp, если это имеет какое-либо влияние
Конфиг, который мне нужно установить?
Я уже установил:
SSLOptions +StdEnvVars
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/Apache24ah64/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
У меня есть следующее в $ _SERVER:
[SSL_TLS_SNI] => SOMESERVERURL
[SSL_SERVER_S_DN_CN] => SOMESERVERURL
[SSL_SERVER_I_DN_O] => Root CA
[SSL_SERVER_I_DN_OU] => http://www.cacert.org
[SSL_SERVER_I_DN_CN] => CA Cert Signing Authority
[SSL_SERVER_I_DN_Email] => [email protected]
[SSL_CLIENT_S_DN_C] => US [
[SSL_CLIENT_S_DN_O] => SOMEOGANIZATION
[SSL_CLIENT_S_DN_OU] => ECA
[SSL_CLIENT_S_DN_OU_1] => SOMECOMPANY
[SSL_CLIENT_S_DN_OU_2] => SOMECOMPANY
[SSL_CLIENT_S_DN_CN] =>LastName.FirstName.ABCDEFG1234567.ID
[SSL_CLIENT_I_DN_C] => US
[SSL_CLIENT_I_DN_O] => SOMEOGANIZATION
[SSL_CLIENT_I_DN_OU] => ECA
[SSL_CLIENT_I_DN_OU_1] => Certification Authorities
[SSL_CLIENT_I_DN_CN] => SOMEOGANIZATION
[SSL_VERSION_INTERFACE] => mod_ssl/2.4.9
[SSL_VERSION_LIBRARY] => OpenSSL/1.0.1g
[SSL_PROTOCOL**]=> TLSv1.2
[SSL_SECURE_RENEG] => true
[SSL_COMPRESS_METHOD] => NULL
[SSL_CIPHER] => ECDHE-RSA-AES128-GCM-SHA256
[SSL_CIPHER_EXPORT] =>false
[SSL_CIPHER_USEKEYSIZE] => 128
[SSL_CIPHER_ALGKEYSIZE] => 128
[SSL_CLIENT_VERIFY] => SUCCESS
[SSL_CLIENT_M_VERSION] => 3
[SSL_CLIENT_M_SERIAL] => 1EDF
[SSL_CLIENT_V_START] => Aug 18 18:42:46 2015 GMT
[SSL_CLIENT_V_END] => Aug 17 18:42:46 2016 GMT
[SSL_CLIENT_V_REMAIN] => 272
[SSL_CLIENT_S_DN] => CN=LastName.FirstName.ABCDEFG1234567.ID,OU=R2AD,OU=ORC,OU=ECA,O=SOMEOGANIZATION,C=US
[SSL_CLIENT_I_DN] => CN=SOMEOGANIZATION,OU=Certification Authorities,OU=SOMEOGANIZATION,O=SOMEOGANIZATION,C=US
[SSL_CLIENT_A_KEY] => rsaEncryption
[SSL_CLIENT_A_SIG] => sha1WithRSAEncryption
[SSL_SERVER_M_VERSION] => 3
[SSL_SERVER_M_SERIAL] => 116DAF
[SSL_SERVER_V_START] => Nov 19 11:38:28 2015 GMT
[SSL_SERVER_V_END] => May 17 11:38:28 2016 GMT
[SSL_SERVER_S_DN] => CN=SOMESERVER
[SSL_SERVER_I_DN] => [email protected],CN=CA Cert Signing Authority,OU=http://www.cacert.org,O=Root CA
[SSL_SERVER_A_KEY] =>rsaEncryption
[SSL_SERVER_A_SIG] => sha256WithRSAEncryption
[SSL_SESSION_RESUMED] => Initial
Помощь приветствуется
Переменные среды SSL_CLIENT_SAN_ * присутствуют в Apache 2.4.10 и выше.
Других решений пока нет …