]> granicus.if.org Git - apache/commitdiff
Merge r1633730 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 27 Oct 2014 12:41:31 +0000 (12:41 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 27 Oct 2014 12:41:31 +0000 (12:41 +0000)
add OCSP Stapling configuration, disabled by default
Submitted by: trawick
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1634521 13f79535-47bb-0310-9956-ffa450edef68

STATUS
docs/conf/extra/httpd-ssl.conf.in

diff --git a/STATUS b/STATUS
index ccb5483e3cc4f73a65dcd5f39c3886bf01e8beeb..858b1774c0a69de68b8374861b26fede56f9b544 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -102,11 +102,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-   * default SSL configuration: provide sample OCSP Stapling configuration
-     trunk patch: http://svn.apache.org/r1633730
-     2.4.x patch: http://people.apache.org/~trawick/2.4.x-sample-ocsp-stapling.txt
-     +1: trawick, covener, gsmith
-
    * mod_substitute: Fix memory limitation in case of regexp plus flatten.
      trunk patch: http://svn.apache.org/r1628104
                   http://svn.apache.org/r1628918 (CHANGES)
index 21ef9bb8b852d9e94bcfd0af938b6b14482260cd..87c99ce3e12abe5750d19c5a10471a075ba72a81 100644 (file)
@@ -73,6 +73,31 @@ SSLPassPhraseDialog  builtin
 SSLSessionCache        "shmcb:@exp_runtimedir@/ssl_scache(512000)"
 SSLSessionCacheTimeout  300
 
+#   OCSP Stapling (requires OpenSSL 0.9.8h or later)
+#
+#   This feature is disabled by default and requires at least
+#   the two directives SSLUseStapling and SSLStaplingCache.
+#   Refer to the documentation on OCSP Stapling in the SSL/TLS
+#   How-To for more information.
+#
+#   Enable stapling for all SSL-enabled servers:
+#SSLUseStapling On
+
+#   Define a relatively small cache for OCSP Stapling using
+#   the same mechanism that is used for the SSL session cache
+#   above.  If stapling is used with more than a few certificates,
+#   the size may need to be increased.  (AH01929 will be logged.)
+#SSLStaplingCache "shmcb:@exp_runtimedir@/ssl_stapling(32768)"
+
+#   Override the OCSP responder URL specified in the certificate
+#SSLStaplingForceURL http://ocsp.example.com/
+
+#   Seconds before valid OCSP responses are expired from the cache
+#SSLStaplingStandardCacheTimeout 3600
+
+#   Seconds before invalid OCSP responses are expired from the cache
+#SSLStaplingErrorCacheTimeout 600
+
 ##
 ## SSL Virtual Host Context
 ##