如何在 Windows 上的 Apache 2.4 上配置 OCSP Stapling?

如何在 Windows 上的 Apache 2.4 上配置 OCSP Stapling?

我使用的是 Apache 2.4.18 和 OpenSSL 1.0.1e。根据https://mozilla.github.io/server-side-tls/ssl-config-generator/

进入建议的配置我收到了它,但我不知道如何在 Windows 上配置它,因为我不确定参数 SSLStaplingCache,它是一个目录吗?

# OCSP Stapling, only in httpd 2.3.3 and later
SSLUseStapling          on
SSLStaplingResponderTimeout 5
SSLStaplingReturnResponderErrors off
SSLStaplingCache        shmcb:/var/run/ocsp(128000)

谢谢

答案1

<VirtualHost *:443>
# your server config stuff
# OCSP stapling 1 of 2 (inside your vHost)
SSLUseStapling on
</VirtualHost>

# OCSP stapling 2 of 2 (outside your vHost)
SSLStaplingCache shmcb:C:/Windows/Temp/OCSPstapling_cache(128000)

相关内容