comparison xml/en/docs/http/ngx_http_ssl_module.xml @ 2027:dabca59da4ce

Documented the $ssl_client_escaped_cert variable.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 23 Aug 2017 21:49:06 +0300
parents 8f1a568a8bbf
children 093855e77388
comparison
equal deleted inserted replaced
2026:af51ec6b5489 2027:dabca59da4ce
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_ssl_module" 10 <module name="Module ngx_http_ssl_module"
11 link="/en/docs/http/ngx_http_ssl_module.html" 11 link="/en/docs/http/ngx_http_ssl_module.html"
12 lang="en" 12 lang="en"
13 rev="34"> 13 rev="35">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_ssl_module</literal> module provides the 18 The <literal>ngx_http_ssl_module</literal> module provides the
777 With older versions, the variable is available 777 With older versions, the variable is available
778 only for new sessions and lists only known ciphers. 778 only for new sessions and lists only known ciphers.
779 </note> 779 </note>
780 </tag-desc> 780 </tag-desc>
781 781
782 <tag-name id="var_ssl_client_escaped_cert"><var>$ssl_client_escaped_cert</var></tag-name>
783 <tag-desc>
784 returns the client certificate in the PEM format (urlencoded)
785 for an established SSL connection (1.13.5);
786 </tag-desc>
787
782 <tag-name id="var_ssl_client_cert"><var>$ssl_client_cert</var></tag-name> 788 <tag-name id="var_ssl_client_cert"><var>$ssl_client_cert</var></tag-name>
783 <tag-desc> 789 <tag-desc>
784 returns the client certificate in the PEM format 790 returns the client certificate in the PEM format
785 for an established SSL connection, with each line except the first 791 for an established SSL connection, with each line except the first
786 prepended with the tab character; 792 prepended with the tab character;
787 this is intended for the use in the 793 this is intended for the use in the
788 <link doc="ngx_http_proxy_module.xml" id="proxy_set_header"/> directive; 794 <link doc="ngx_http_proxy_module.xml" id="proxy_set_header"/> directive;
795 <note>
796 The variable is deprecated,
797 the <var>$ssl_client_escaped_cert</var> variable should be used instead.
798 </note>
789 </tag-desc> 799 </tag-desc>
790 800
791 <tag-name id="var_ssl_client_fingerprint"><var>$ssl_client_fingerprint</var></tag-name> 801 <tag-name id="var_ssl_client_fingerprint"><var>$ssl_client_fingerprint</var></tag-name>
792 <tag-desc> 802 <tag-desc>
793 returns the SHA1 fingerprint of the client certificate 803 returns the SHA1 fingerprint of the client certificate