nginx ssl 双向认证 400错误 php取客户端证书dn

证书时间错误,还未生效,导致直接nginx400错误,却不提示确认客户端证书。根证书还未生效。


fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;


#fastcgi_param SSL_DN $ssl_client_s_dn;
fastcgi_param SSL_PROTOCOL $ssl_protocol;
fastcgi_param SSL_CERT $ssl_client_cert;
fastcgi_param SSL_CIPHER $ssl_cipher;
fastcgi_param HTTPS on;
fastcgi_param SSL_VERIFIED $ssl_client_verify;
fastcgi_param SSL_CLIENT_SERIAL $ssl_client_serial;
fastcgi_param SSL_CLIENT_CERT $ssl_client_cert;
fastcgi_param SSL_DN $ssl_client_s_dn;

php 显示 客户端用户dn
?>

你可能感兴趣的:(nginx ssl 双向认证 400错误 php取客户端证书dn)