Mark:VisualSVN 3.9.0已无此问题
============
Symptoms
Subversion clients receive the following error message when attempting to connect to VisualSVN Server:
Key usage violation in certificate has been detected. (https://server.domain.local)
You may experience the issue if both of the following conditions are met:
- VisualSVN Server has a self-signed certificate applied and
- Subversion client is built against the GnuTLS library.
![[转]VisualSVN <wbr>Server <wbr>certificate <wbr>key <wbr>usage <wbr>violation <wbr>in <wbr>Subversion <wbr>clients <wbr>built <wbr>against <wbr>GnuT Note](http://www.visualsvn.com/images/note.png)
Technical background
During the initial setup VisualSVN Server 2.5 generates a self-signed certificate and adds it to the Trusted Root Certification Authorities store on the local machine. To avoid possible security issues, VisualSVN Server makes this self-signed certificate to be valid for server authentication only (by specifying the 'Key Usage' extension). Subversion clients built against GnuTLS don't recognize such certificate and the error occurs.
Workaround
It's not recommended to use a self-signed certificate in a production environment. We advise to use a certificate issued by your dom