From: Tom Hughes Date: Tue, 9 Sep 2014 21:38:28 +0000 (+0100) Subject: Enable OCSP stapling on 14.04 machines X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/9ad290c8fa14984388eded8f9f5cbd69b8821ee9?ds=inline Enable OCSP stapling on 14.04 machines --- diff --git a/cookbooks/apache/templates/default/ssl.erb b/cookbooks/apache/templates/default/ssl.erb index ac25cc4bc..1e9ea31da 100644 --- a/cookbooks/apache/templates/default/ssl.erb +++ b/cookbooks/apache/templates/default/ssl.erb @@ -6,3 +6,8 @@ SSLCipherSuite aRSA+HIGH:+kEDH:+kRSA:!kSRP:!kPSK:+3DES:!MD5 SSLCertificateFile /etc/ssl/certs/<%= @certificate %>.pem SSLCertificateKeyFile /etc/ssl/private/<%= @certificate %>.key SSLCertificateChainFile /etc/ssl/certs/rapidssl.pem +<% if node[:lsb][:release].to_f >= 14.04 -%> + +SSLUseStapling On +SSLStaplingCache shmcb:${APACHE_RUN_DIR}/ssl_ocspcache(512000) +<% end -%>