From: Kaspar Brand
Date: Wed, 21 Sep 2011 16:54:18 +0000 (+0000)
Subject: mod_ssl:
X-Git-Tag: 2.3.15~208
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a149280ac1375eec19c05467247b95bafc195be5;p=apache
mod_ssl:
- document the SSLStapling* directives (code committed in
r829619 for 2.2.3, see PR 43822)
- add SSLCARevocationCheck to the list of configuration changes
in the 2.4 upgrade notes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1173755 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_ssl.xml b/docs/manual/mod/mod_ssl.xml
index 933a12da74..00a7c146a7 100644
--- a/docs/manual/mod/mod_ssl.xml
+++ b/docs/manual/mod/mod_ssl.xml
@@ -431,7 +431,7 @@ up to four parallel requests are common) those requests are served by
different pre-forked server processes. Here an inter-process cache
helps to avoid unnecessary session handshakes.
-The following four storage types are currently supported:
+The following five storage types are currently supported:
none
@@ -2084,4 +2084,190 @@ supported for a given SSL connection.
+
+SSLUseStapling
+Enable stapling of OCSP responses in the TLS handshake
+SSLUseStapling on|off
+SSLUseStapling off
+server config
+virtual host
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+This option enables OCSP stapling, as defined by the "Certificate
+Status Request" TLS extension specified in RFC 6066. If enabled (and
+requested by the client), mod_ssl will include an OCSP response
+for its own certificate in the TLS handshake. Configuring an
+SSLStaplingCache is a
+prerequisite for enabling OCSP stapling.
+
+OCSP stapling relieves the client of querying the OCSP responder
+on its own, but it should be noted that in its current specification,
+the server's CertificateStatus
reply may only include an
+OCSP response for a single cert. For server certificates with intermediate
+CA certificates in their chain (the typical case nowadays),
+stapling in its current form therefore only partially achieves the
+stated goal of "saving roundtrips and resources" - see also the
+"Adding Multiple TLS Certificate Status Extension requests" Internet draft.
+
+
+
+
+
+SSLStaplingCache
+Configures the OCSP stapling cache
+SSLStaplingCache type
+server config
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+Configures the cache used to store OCSP responses which get included
+in the TLS handshake if SSLUseStapling
+is enabled. Configuration of a cache is mandatory for OCSP stapling.
+With the exception of none
and nonenotnull
,
+the same storage types are supported as with
+SSLSessionCache.
+
+
+
+
+SSLStaplingResponseTimeSkew
+Maximum allowable time skew for OCSP stapling response validation
+SSLStaplingResponseTimeSkew seconds
+SSLStaplingResponseTimeSkew 300
+server config
+virtual host
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+This option sets the maximum allowable time skew when mod_ssl checks the
+thisUpdate
and nextUpdate
fields of OCSP responses
+which get included in the TLS handshake (OCSP stapling). Only applicable
+if SSLUseStapling is turned on.
+
+
+
+
+SSLStaplingResponderTimeout
+Timeout for OCSP stapling queries
+SSLStaplingResponderTimeout seconds
+SSLStaplingResponderTimeout 10
+server config
+virtual host
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+This option sets the timeout for queries to OCSP responders when
+SSLUseStapling is enabled
+and mod_ssl is querying a responder for OCSP stapling purposes.
+
+
+
+
+SSLStaplingResponseMaxAge
+Maximum allowable age for OCSP stapling responses
+SSLStaplingResponseMaxAge seconds
+SSLStaplingResponseMaxAge -1
+server config
+virtual host
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+This option sets the maximum allowable age ("freshness") when
+considering OCSP responses for stapling purposes, i.e. when
+SSLUseStapling is turned on.
+The default value (-1
) does not enforce a maximum age,
+which means that OCSP responses are considered valid as long as their
+nextUpdate
field is in the future.
+
+
+
+
+SSLStaplingStandardCacheTimeout
+Number of seconds before expiring responses in the OCSP stapling cache
+SSLStaplingStandardCacheTimeout seconds
+SSLStaplingStandardCacheTimeout 3600
+server config
+virtual host
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+Sets the timeout in seconds before responses in the OCSP stapling cache
+(configured through SSLStaplingCache)
+will expire. This directive applies to valid responses, while
+SSLStaplingErrorCacheTimeout is
+used for controlling the timeout for invalid/unavailable responses.
+
+
+
+
+
+SSLStaplingReturnResponderErrors
+Pass stapling related OCSP errors on to client
+SSLStaplingReturnResponderErrors on|off
+SSLStaplingReturnResponderErrors on
+server config
+virtual host
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+When enabled, mod_ssl will pass responses from unsuccessful
+stapling related OCSP queries (such as status errors, expired responses etc.)
+on to the client. If set to off
, no stapled responses
+for failed queries will be included in the TLS handshake.
+
+
+
+
+SSLStaplingFakeTryLater
+Synthesize "tryLater" responses for failed OCSP stapling queries
+SSLStaplingFakeTryLater on|off
+SSLStaplingFakeTryLater on
+server config
+virtual host
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+When enabled and a query to an OCSP responder for stapling
+purposes fails, mod_ssl will synthesize a "tryLater" response for the
+client. Only effective if SSLStaplingReturnResponderErrors
+is also enabled.
+
+
+
+
+SSLStaplingErrorCacheTimeout
+Number of seconds before expiring invalid responses in the OCSP stapling cache
+SSLStaplingErrorCacheTimeout seconds
+SSLStaplingErrorCacheTimeout 600
+server config
+virtual host
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+Sets the timeout in seconds before invalid responses
+in the OCSP stapling cache (configured through SSLStaplingCache) will expire.
+To set the cache timeout for valid responses, see
+SSLStaplingStandardCacheTimeout.
+
+
+
+
+SSLStaplingForceURL
+Override the OCSP responder URI specified in the certificate's AIA extension
+SSLStaplingForceURL uri
+server config
+virtual host
+Available in httpd 2.3.3 and later, if using OpenSSL 0.9.8h or later
+
+
+This directive overrides the URI of an OCSP responder as obtained from
+the authorityInfoAccess (AIA) extension of the certificate.
+Of potential use when going through a proxy for retrieving OCSP queries.
+
+
+
diff --git a/docs/manual/upgrading.xml b/docs/manual/upgrading.xml
index c503ddda1d..e44bee3abe 100644
--- a/docs/manual/upgrading.xml
+++ b/docs/manual/upgrading.xml
@@ -256,6 +256,12 @@
option has been removed in favour of per-module LogLevel configuration.
+
+ - mod_ssl: CRL based revocation checking
+ now needs to be explicitly configured through SSLCARevocationCheck.
+
+