# HG changeset patch # User Yaroslav Zhuravlev # Date 1589888602 -3600 # Node ID ffc4083f5c7e9aecc3834fe827bd0b6fda266082 # Parent baf8cbfa3df1d152fed490cded4392d63d102d9e Documented ssl_ocsp, ssl_ocsp_cache, ssl_ocsp_responder directives. diff --git a/xml/en/docs/http/ngx_http_ssl_module.xml b/xml/en/docs/http/ngx_http_ssl_module.xml --- a/xml/en/docs/http/ngx_http_ssl_module.xml +++ b/xml/en/docs/http/ngx_http_ssl_module.xml @@ -10,7 +10,7 @@ + rev="49">
@@ -401,6 +401,92 @@ the prime256v1 curve + +on | + off | + leaf +off +http +server +1.19.0 + + +Enables OCSP validation of the client certificate chain. +The leaf parameter +enables validation of the client certificate only. + + + +For the OCSP validation to work, +the directive should be set to +on or optional. + + + +To resolve the OCSP responder hostname, +the directive +should also be specified. + + + +Example: + +ssl_verify_client on; +ssl_ocsp on; +resolver 192.0.2.1; + + + + + + + + + off | + [shared:name:size] +off +http +server +1.19.0 + + +Sets name and size of the cache +that stores client certificates status for OCSP validation. +The cache is shared between all worker processes. +A cache with the same name can be used in several virtual servers. + + + +The off parameter prohibits the use of the cache. + + + + + + +url + +http +server +1.19.0 + + +Overrides the URL of the OCSP responder specified in the +“Authority +Information Access” certificate extension +for validation of client certificates. + + + +Only “http://” OCSP responders are supported: + +ssl_ocsp_responder http://ocsp.example.com/; + + + + + + file diff --git a/xml/ru/docs/http/ngx_http_ssl_module.xml b/xml/ru/docs/http/ngx_http_ssl_module.xml --- a/xml/ru/docs/http/ngx_http_ssl_module.xml +++ b/xml/ru/docs/http/ngx_http_ssl_module.xml @@ -10,7 +10,7 @@ + rev="49">
@@ -403,6 +403,93 @@ ssl_ecdh_curve prime256v1:secp384r1; + +on | + off | + leaf +off +http +server +1.19.0 + + +Включает проверку OCSP для цепочки клиентских сертификатов. +Параметр leaf +включает проверку только клиентского сертификата. + + + +Для работы проверки OCSP +необходимо дополнительно установить значение директивы + в +on или optional. + + + +Для преобразования имени хоста OCSP responder’а в адрес необходимо +дополнительно задать директиву +. + + + +Пример: + +ssl_verify_client on; +ssl_ocsp on; +resolver 192.0.2.1; + + + + + + + + + off | + [shared:имя:размер] +off +http +server +1.19.0 + + +Задаёт имя и размер кэша, +который хранит статус клиентских сертификатов для проверки OCSP-ответов. +Кэш разделяется между всеми рабочими процессами. +Кэш с одинаковым названием может использоваться в нескольких +виртуальных серверах. + + + +Параметр off запрещает использование кэша. + + + + + + +url + +http +server +1.19.0 + + +Переопределяет URL OCSP responder’а, указанный в расширении сертификата +“Authority +Information Access” +для проверки клиентских сертификатов. + + + +Поддерживаются только “http://” OCSP responder’ы: + +ssl_ocsp_responder http://ocsp.example.com/; + + + + + файл