{"id":52,"date":"2004-05-21T07:59:47","date_gmt":"2004-05-21T11:59:47","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/rlucastemp\/2004\/05\/21\/fix-apacheopenssl-wont-talk-to-som"},"modified":"2004-05-21T07:59:47","modified_gmt":"2004-05-21T11:59:47","slug":"fix-apacheopenssl-wont-talk-to-some-browsers-with-ssl3_get_client_h","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/2004\/05\/21\/fix-apacheopenssl-wont-talk-to-some-browsers-with-ssl3_get_client_h\/","title":{"rendered":"[FIX] Apache\/OpenSSL won&#8217;t talk to some browsers, with SSL3_GET_CLIENT_HELLO:no shared cipher"},"content":{"rendered":"<p><a name='a36'><\/a><\/p>\n<p>If you are finding that some browsers are talking to your new Apache\/OpenSSL install,<br \/>\nwhile some are pulling a total blank (looks like a connection refused<br \/>\nor server not found), and you are getting this error:<\/p>\n<div style=\"margin-left: 40px;\"><span style=\"font-family: courier;\">OpenSSL: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher [Hint: Too restrictive SSLCipherSuite or using <\/span><span style=\"font-family: courier;\">DSA server certificate?]<br \/>\n<span style=\"font-family: arial;\"><br \/>\n<\/span><\/span><\/div>\n<p><span style=\"font-family: courier;\"><span style=\"font-family: arial;\"><\/span><\/span><span style=\"font-family: courier;\"><\/span>&#8230;<br \/>\nthen heed the warning.&nbsp; You are likely using the DSA server<br \/>\ncertificate that comes with some fresh installs.&nbsp; Check your cert<br \/>\ndirectories:<\/p>\n<div style=\"margin-left: 40px;\"><span style=\"font-family: courier;\">ls -l \/etc\/httpd\/conf\/ssl.crt<br \/>\n<\/span><span style=\"font-family: courier;\"><span style=\"font-family: courier;\">ls -l \/etc\/httpd\/conf\/ssl.key<br \/>\n<\/span><\/span><\/div>\n<p>\nDo you see that your server.crt (or whatever your httpd.conf defines as<br \/>\nyour cert) and your server.key (or whatever is your key) are symbolic<br \/>\nlinks to the default &#8220;snakeoil&#8221; certs?<\/p>\n<div style=\"margin-left: 40px;\"><span style=\"font-family: courier;\">server.crt -&gt; snakeoil-dsa.crt<br \/>\nserver.key -&gt; snakeoil-dsa.key<br \/>\n<\/span><\/div>\n<p><span style=\"font-family: times new roman;\"><br \/><span style=\"font-family: arial;\"><br \/>\nOk, then you might have better luck in using the RSA versions, which play nice with more browsers:<\/span><\/p>\n<p><\/span><\/p>\n<div style=\"margin-left: 40px;\"><span style=\"font-family: courier;\">mv server.crt server.crt.orig<br \/>\nln -s snakeoil-rsa.crt server.crt<\/p>\n<p>mv server.key server.key.orig<br \/>\n<\/span><\/div>\n<p><span style=\"font-family: times new roman;\"><\/span><span style=\"font-family: courier;\"><\/span><\/p>\n<div style=\"margin-left: 40px;\"><span style=\"font-family: courier;\">ln -s snakeoil-rsa.key server.key<\/p>\n<p>apachectl stop &amp;&amp; apachectl start<br \/>\n<\/span><\/div>\n<p><span style=\"font-family: times new roman;\"><br \/><span style=\"font-family: arial;\"><br \/>\n(Remembering that with Apache, when playing with SSL stuff, do a full stop and start upon making changes &#8212; a HUP won&#8217;t cut it)<\/span><\/p>\n<p><span style=\"font-family: arial;\"><br \/>\nAs per all recommendations, do away with the snakeoil stuff ASAP and certainly before putting anything up on a public network.<\/span><br \/>\n<\/span><span style=\"font-family: arial;\"><\/span><br \/>\nCAVEAT: Do not use this advice for production.&nbsp; This advice should<br \/>\nonly be used for your own dev or testing, in order to get a fresh<br \/>\ninstall at least nominally working.&nbsp; If you want real SSL and<br \/>\ncan&#8217;t figure it out, pay someone, because your security is worth it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are finding that some browsers are talking to your new Apache\/OpenSSL install, while some are pulling a total blank (looks like a connection refused or server not found), and you are getting this error: OpenSSL: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher [Hint: Too restrictive SSLCipherSuite or using DSA server certificate?] &#8230; then heed the warning.&nbsp; [&hellip;]<\/p>\n","protected":false},"author":1180,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1460],"tags":[],"class_list":["post-52","post","type-post","status-publish","format-standard","hentry","category-rlucasstories"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/wp-json\/wp\/v2\/posts\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/wp-json\/wp\/v2\/users\/1180"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/rlucastemp\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}