{"id":46,"date":"2013-01-02T16:39:51","date_gmt":"2013-01-02T16:39:51","guid":{"rendered":"http:\/\/www.nightslayer.eu\/blog\/?p=46"},"modified":"2013-05-15T09:02:24","modified_gmt":"2013-05-15T09:02:24","slug":"enabling-sslv2-for-ubuntu-11-10-12-04","status":"publish","type":"post","link":"https:\/\/www.hackwhackandsmack.com\/?p=46","title":{"rendered":"Enabling SSLv2 for Ubuntu 11.10 &#038; 12.04"},"content":{"rendered":"<p>Happy New Year!<\/p>\n<p>Its been bugging me for a while now that Ubuntu have removed the support for SSLv2 in Openssl as standard.<\/p>\n<p>If you are unsure whether your openssl has support for SSLv2 try\u00a0running\u00a0a simple sslscan on your own Apache server like this below:<\/p>\n<p>Once you are sure your openssl is not compiled to support SSLv2 then follow these instructions. How to recompile Openssl to include SSLv2:<\/p>\n<p><strong>$ sudo apt-get install build-essential devscripts<\/strong><br \/>\n<strong>$ sudo apt-get build-dep openssl<\/strong><br \/>\n<strong>$ apt-get source openssl<\/strong><br \/>\n<strong>$ cd openssl-*<\/strong><br \/>\n<strong>$ quilt pop -a<\/strong>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# This removes updates<br \/>\n<strong>$ vi debian\/patches\/series<\/strong>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 #\u00a0Remove &#8216;no-ssl2.patch&#8217;<br \/>\n<strong>$ vi debian\/rules<\/strong>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 #\u00a0Remove &#8216;no-ssl2&#8217; in args<br \/>\n<strong>$ quilt push -a \u00a0<\/strong> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # Re-applies the updates<br \/>\n<strong>$ dch -n &#8216;Allow dangerous v2 protocol&#8217;<\/strong><br \/>\n<strong>$ dpkg-source &#8211;commit<\/strong><br \/>\n<strong>$ debuild -uc -us<\/strong><br \/>\n<strong>$ ls ..\/*ssl*.deb<\/strong><br \/>\n<strong>$ sudo dpkg -i *ssl*.deb<\/strong><\/p>\n<p>Then re-compile your sslscan application and retry. Hopefully you should now have sslscan fully installed with SSLv2 support.<\/p>\n<p>\ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Happy New Year! Its been bugging me for a while now that Ubuntu have removed the support for SSLv2 in Openssl as standard. If you are unsure whether your openssl has support for SSLv2 try\u00a0running\u00a0a simple sslscan on your own Apache server like this below: Once you are sure your openssl is not compiled to&hellip; <a class=\"more-link\" href=\"https:\/\/www.hackwhackandsmack.com\/?p=46\">Continue reading <span class=\"screen-reader-text\">Enabling SSLv2 for Ubuntu 11.10 &#038; 12.04<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/posts\/46"}],"collection":[{"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":4,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":104,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions\/104"}],"wp:attachment":[{"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hackwhackandsmack.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}