{"id":113,"date":"2011-07-02T07:46:26","date_gmt":"2011-07-02T06:46:26","guid":{"rendered":"http:\/\/www.1st-setup.nl\/wordpress\/?p=113"},"modified":"2011-07-02T07:46:26","modified_gmt":"2011-07-02T06:46:26","slug":"svn-on-fedora-15-with-client-certificates-safe-renegotiation-failed-problem","status":"publish","type":"post","link":"http:\/\/www.1st-setup.nl\/wordpress\/svn-on-fedora-15-with-client-certificates-safe-renegotiation-failed-problem\/","title":{"rendered":"svn on Fedora 15 with client certificates &#8220;Safe renegotiation failed&#8221; problem"},"content":{"rendered":"<p>When I changed my svn repositories to use client certificate authentication and authorisation the svn client on my Fedora 15 box did not work any more.<\/p>\n<p>This was for the command line svn client as well for the gui client <a title=\"RapidSVN\" href=\"http:\/\/www.rapidsvn.org\/\" target=\"_blank\">RapidSVN<\/a> which I use.<\/p>\n<p>The error I got was &#8220;<a href=\"http:\/\/www.ietf.org\/rfc\/rfc5746.txt\" target=\"_blank\">Safe renegotiation failed<\/a>&#8220;. Id did not get this error on my Fedora 14 box. This error is part of a flaw found in the TLS protocol, discovered somewhere in 2009, which now has been fixed in most software.<\/p>\n<p>After some digging around it appeared that on Fedora 15 the svn client uses <a href=\"http:\/\/www.webdav.org\/neon\/\" target=\"_blank\">libneon<\/a> which in turn uses <a href=\"http:\/\/www.gnu.org\/software\/gnutls\/\" target=\"_blank\">gnutls<\/a> for it&#8217;s tls sessions. The versions for libneon and gnutls are different between Fedora 15 and 14 so the problem is somewhere there.<\/p>\n<p>I know, from another project, that libneon can be compiled again gnutls but also against <a href=\"http:\/\/www.openssl.org\/\" target=\"_blank\">openssl<\/a>. So the first thing I tried was to recompile libneon but now against openssl.<\/p>\n<p><code>$&gt; su -<br \/>\n#&gt; yum -y install openssl-devel<br \/>\n#&gt; wget <a href=\"http:\/\/www.webdav.org\/neon\/neon-0.29.6.tar.gz\" target=\"_blank\">http:\/\/www.webdav.org\/neon\/neon-0.29.6.tar.gz<\/a><br \/>\n#&gt; tar -zxvpf neon-0.29.6.tar.gz<br \/>\n#&gt; cd neon-0.29.6<br \/>\n(Next is for an 64-bit system. Remove the --libdir part on 32-bit systems)<br \/>\n#&gt; .\/configure --prefix=\/usr --libdir=\/usr\/lib64 --with-ssl=openssl --with-gnu-<br \/>\nld --enable-shared=yes<br \/>\n#&gt; make<br \/>\n#&gt; make install<\/code><\/p>\n<p>After this I retried the svn client and it worked as I expected it. Even RapidSVN did work. It probably uses the commandline svn client.<\/p>\n<p>So problem solved.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I changed my svn repositories to use client certificate authentication and authorisation the svn client on my Fedora 15 box did not work any more. This was for the command line svn client as well for the gui client &hellip; <a href=\"http:\/\/www.1st-setup.nl\/wordpress\/svn-on-fedora-15-with-client-certificates-safe-renegotiation-failed-problem\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"ngg_post_thumbnail":0},"categories":[5,22,29],"tags":[49,31,47,32,30,48],"_links":{"self":[{"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/posts\/113"}],"collection":[{"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/comments?post=113"}],"version-history":[{"count":4,"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":117,"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/posts\/113\/revisions\/117"}],"wp:attachment":[{"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/media?parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/categories?post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.1st-setup.nl\/wordpress\/wp-json\/wp\/v2\/tags?post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}