Question

While using CentOS 6 and SVN 1.6 (yum install subversion) or 1.7.5, When I try to do an SVN checkout against a VisualSVN server I get the following error:

SSL handshake failed: SSL error: Key usage violation in certificate has been detected.

I have looked around the net and it suggests to do the following:

sudo mv /usr/lib/libneon-gnutls.so.27 /usr/lib/libneon-gnutls.so.27.old
sudo ln -s /usr/lib/libneon.so.27 /usr/lib/libneon-gnutls.so.27

However, libneon-gnutls.so.27 does not exist with this package of libneon, rendering the solution useless (I've tried):

neon-0.29.3-1.2.el6.i686

Is there a workaround that does not involve downgrading neon? I'm unsure how to get the proper version of neon I would need.

Was it helpful?

Solution

I upgraded VisualSVN to latest the version and added the registry key defined here: http://www.visualsvn.com/support/topic/00056/

Then regenerated a certificate. Turned off SSL and turned it back on.

After this I tried connecting from my server again and it worked. I'm not sure exactly which action resolved the issue, but it appears that even though the VisualSVN topic says it applies to 2.5 and not any specific subversion the latest version is able to properly generate a certificate.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top