changeset 1824:e8811a423130

Added RFC2253-compliant $ssl_client_s_dn, $ssl_client_i_dn and legacy vars.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 21 Oct 2016 22:26:56 +0300
parents fd5656dab254
children 56b6244ddadb
files xml/en/docs/http/ngx_http_ssl_module.xml xml/ru/docs/http/ngx_http_ssl_module.xml
diffstat 2 files changed, 42 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_ssl_module.xml	Fri Oct 21 22:24:14 2016 +0300
+++ b/xml/en/docs/http/ngx_http_ssl_module.xml	Fri Oct 21 22:26:56 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_ssl_module"
         link="/en/docs/http/ngx_http_ssl_module.html"
         lang="en"
-        rev="24">
+        rev="25">
 
 <section id="summary">
 
@@ -793,13 +793,33 @@
 <tag-name id="var_ssl_client_s_dn"><var>$ssl_client_s_dn</var></tag-name>
 <tag-desc>
 returns the “subject DN” string of the client certificate
+for an established SSL connection according to
+<link url="https://tools.ietf.org/html/rfc2253">RFC 2253</link> (1.11.6);
+</tag-desc>
+
+<tag-name id="var_ssl_client_s_dn_legacy"><var>$ssl_client_s_dn_legacy</var></tag-name>
+<tag-desc>
+returns the “subject DN” string of the client certificate
 for an established SSL connection;
+<note>
+Prior to version 1.11.6, the variable name was <var>$ssl_client_s_dn</var>.
+</note>
 </tag-desc>
 
 <tag-name id="var_ssl_client_i_dn"><var>$ssl_client_i_dn</var></tag-name>
 <tag-desc>
 returns the “issuer DN” string of the client certificate
+for an established SSL connection according to
+<link url="https://tools.ietf.org/html/rfc2253">RFC 2253</link> (1.11.6);
+</tag-desc>
+
+<tag-name id="var_ssl_client_i_dn_legacy"><var>$ssl_client_i_dn_legacy</var></tag-name>
+<tag-desc>
+returns the “issuer DN” string of the client certificate
 for an established SSL connection;
+<note>
+Prior to version 1.11.6, the variable name was <var>$ssl_client_i_dn</var>.
+</note>
 </tag-desc>
 
 <tag-name id="var_ssl_client_verify"><var>$ssl_client_verify</var></tag-name>
--- a/xml/ru/docs/http/ngx_http_ssl_module.xml	Fri Oct 21 22:24:14 2016 +0300
+++ b/xml/ru/docs/http/ngx_http_ssl_module.xml	Fri Oct 21 22:26:56 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_ssl_module"
         link="/ru/docs/http/ngx_http_ssl_module.html"
         lang="ru"
-        rev="24">
+        rev="25">
 
 <section id="summary">
 
@@ -795,13 +795,33 @@
 <tag-name id="var_ssl_client_s_dn"><var>$ssl_client_s_dn</var></tag-name>
 <tag-desc>
 возвращает строку “subject DN” клиентского сертификата
+для установленного SSL-соединения согласно
+<link url="https://tools.ietf.org/html/rfc2253">RFC 2253</link> (1.11.6);
+</tag-desc>
+
+<tag-name id="var_ssl_client_s_dn_legacy"><var>$ssl_client_s_dn_legacy</var></tag-name>
+<tag-desc>
+возвращает строку “subject DN” клиентского сертификата
 для установленного SSL-соединения;
+<note>
+До версии 1.11.6 переменная называлась <var>$ssl_client_s_dn</var>.
+</note>
 </tag-desc>
 
 <tag-name id="var_ssl_client_i_dn"><var>$ssl_client_i_dn</var></tag-name>
 <tag-desc>
 возвращает строку “issuer DN” клиентского сертификата
+для установленного SSL-соединения согласно
+<link url="https://tools.ietf.org/html/rfc2253">RFC 2253</link> (1.11.6);
+</tag-desc>
+
+<tag-name id="var_ssl_client_i_dn_legacy"><var>$ssl_client_i_dn_legacy</var></tag-name>
+<tag-desc>
+возвращает строку “issuer DN” клиентского сертификата
 для установленного SSL-соединения;
+<note>
+До версии 1.11.6 переменная называлась <var>$ssl_client_s_dn</var>.
+</note>
 </tag-desc>
 
 <tag-name id="var_ssl_client_verify"><var>$ssl_client_verify</var></tag-name>