{"id":477,"date":"2013-07-27T23:49:43","date_gmt":"2013-07-27T21:49:43","guid":{"rendered":"http:\/\/bergs.biz\/blog\/?p=477"},"modified":"2013-07-27T23:49:43","modified_gmt":"2013-07-27T21:49:43","slug":"enabling-forward-secrecy-in-apache","status":"publish","type":"post","link":"https:\/\/bergs.biz\/blog\/2013\/07\/27\/enabling-forward-secrecy-in-apache\/","title":{"rendered":"Enabling Forward Secrecy in Apache"},"content":{"rendered":"<p>I tried to follow the instructions given in <a href=\"https:\/\/community.qualys.com\/blogs\/securitylabs\/2013\/06\/25\/ssl-labs-deploying-forward-secrecy\" target=\"_blank\">this article<\/a> by Ivan Ristic, but somehow it seems not to be working, or the test at <a href=\"https:\/\/www.ssllabs.com\/ssltest\/\" target=\"_blank\">https:\/\/www.ssllabs.com\/ssltest\/<\/a> might be broken&#8230; \ud83d\ude41<\/p>\n<p>Unfortunately I can&#8217;t seem to comment on Ivan&#8217;s article (I even registered just to reply), so I created this blog post, hoping that my trackback will work&#8230;<\/p>\n<p>This is what I have in Apache:<\/p>\n<pre>SSLHonorCipherOrder On\r\nSSLCipherSuite ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH<\/pre>\n<p>According to the output of\u00a0<code>openssl ciphers<\/code> this should enable the following cipher suites (filtered by only those that contain <code>ECDHE<\/code>):<\/p>\n<pre>ECDHE-RSA-AES128-SHA256 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA256\r\nECDHE-RSA-RC4-SHA       SSLv3 Kx=ECDH     Au=RSA  Enc=RC4(128)  Mac=SHA1\r\nECDHE-ECDSA-RC4-SHA     SSLv3 Kx=ECDH     Au=ECDSA Enc=RC4(128)  Mac=SHA1\r\nECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(256) Mac=AEAD\r\nECDHE-ECDSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AESGCM(256) Mac=AEAD\r\nECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AES(256)  Mac=SHA384\r\nECDHE-ECDSA-AES256-SHA384 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AES(256)  Mac=SHA384\r\nECDHE-RSA-AES256-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(256)  Mac=SHA1\r\nECDHE-ECDSA-AES256-SHA  SSLv3 Kx=ECDH     Au=ECDSA Enc=AES(256)  Mac=SHA1\r\nECDHE-RSA-DES-CBC3-SHA  SSLv3 Kx=ECDH     Au=RSA  Enc=3DES(168) Mac=SHA1\r\nECDHE-ECDSA-DES-CBC3-SHA SSLv3 Kx=ECDH     Au=ECDSA Enc=3DES(168) Mac=SHA1\r\nECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(128) Mac=AEAD\r\nECDHE-ECDSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AESGCM(128) Mac=AEAD\r\nECDHE-ECDSA-AES128-SHA256 TLSv1.2 Kx=ECDH     Au=ECDSA Enc=AES(128)  Mac=SHA256\r\nECDHE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1\r\nECDHE-ECDSA-AES128-SHA  SSLv3 Kx=ECDH     Au=ECDSA Enc=AES(128)  Mac=SHA1<\/pre>\n<p>As far as I can tell this should include the below cipher suites which supposedly enable forward secrecy:<\/p>\n<pre>    TLS_ECDHE_RSA_WITH_RC4_128_SHA\r\n    TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\r\n    TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\r\n    TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA<\/pre>\n<p>Unfortunately the above SSL test shows the following when running towards my Apache:<\/p>\n<pre>Forward Secrecy \tNo<\/pre>\n<p>Does anyone know what that means? Is the test just broken, or am I misunderstanding anything?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I tried to follow the instructions given in this article by Ivan Ristic, but somehow it seems not to be working, or the test at https:\/\/www.ssllabs.com\/ssltest\/ might be broken&#8230; \ud83d\ude41 Unfortunately I can&#8217;t seem to comment on Ivan&#8217;s article (I even registered just to reply), so I created this blog post, hoping that my trackback [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[91,92],"class_list":["post-477","post","type-post","status-publish","format-standard","hentry","category-security-computers","tag-forward-secrecy","tag-tls"],"_links":{"self":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/comments?post=477"}],"version-history":[{"count":1,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/477\/revisions"}],"predecessor-version":[{"id":478,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/477\/revisions\/478"}],"wp:attachment":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/media?parent=477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/categories?post=477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/tags?post=477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}