SVN under Linux cannot connect to the Windows server: SSL failure: SSL error: Illegal key usage detected in the certificate.
The SVN server has been configured with visualSVN on Windows 2003 and is available on the Windows virtual machine client side.
Today, however, trying to run SVN on Ubuntu 11.10 installed Subversion. But use times similar to the following error:
SVN: method OPTIONS fail in “https://1.0.0.2:8443/svn/xxx” : the SSL handshake failed: SSL error: key usage of detected irregularities in the certificate.
Reason for error: This is because Virtual SVN USES a plug-in when generating authentication data that is supported by OpenSSL but not by GnuTls.
The
correction is to modify the certificate source sky generated for third-party certificates used by visualsvn on the server so that both Windows and Linux can recognize it.
Process:
1.Add the following registry value to the Windows registry :(mine is 32 bits)
for 32-bit system :(run regedit-> Find the following registry key -& GT; Add a value of type DWORD)
[HKEY_LOCAL_MACHINESOFTWAREVisualSVNVisualSVN Server]
“CreateGnuTLSCompatibleCertificate” = dword: 00000001
for 64 – bit system:
[HKEY_LOCAL_MACHINESOFTWAREWow6432NodeVisualSVNVisualSVN Server]
“CreateGnuTLSCompatibleCertificate” = dword: 00000001
Start VisualSVN Server Manager. (open virsualSVN Server)
2. Go to Action | Properties | Certificate.
3.Click Change certificate…
execute SVN again, it will prompt the certificate generator to be warned that it is not trusted, choose to accept it permanently.
and that solves the problem.
Another solution (without testing) is to make SVN clients on LINUX support OPENSSL.
The methods are as follows:
The SVN server has been configured with visualSVN on Windows 2003 and is available on the Windows virtual machine client side.
Today, however, trying to run SVN on Ubuntu 11.10 installed Subversion. But use times similar to the following error:
SVN: method OPTIONS fail in “https://1.0.0.2:8443/svn/xxx” : the SSL handshake failed: SSL error: key usage of detected irregularities in the certificate.
Reason for error: This is because Virtual SVN USES a plug-in when generating authentication data that is supported by OpenSSL but not by GnuTls.
The
correction is to modify the certificate source sky generated for third-party certificates used by visualsvn on the server so that both Windows and Linux can recognize it.
Process:
1.Add the following registry value to the Windows registry :(mine is 32 bits)
for 32-bit system :(run regedit-> Find the following registry key -& GT; Add a value of type DWORD)
[HKEY_LOCAL_MACHINESOFTWAREVisualSVNVisualSVN Server]
“CreateGnuTLSCompatibleCertificate” = dword: 00000001
for 64 – bit system:
[HKEY_LOCAL_MACHINESOFTWAREWow6432NodeVisualSVNVisualSVN Server]
“CreateGnuTLSCompatibleCertificate” = dword: 00000001
Start VisualSVN Server Manager. (open virsualSVN Server)
2. Go to Action | Properties | Certificate.
3.Click Change certificate…
execute SVN again, it will prompt the certificate generator to be warned that it is not trusted, choose to accept it permanently.
and that solves the problem.
Another solution (without testing) is to make SVN clients on LINUX support OPENSSL.
The methods are as follows:
wget wget http://subversion.tigris.org/downloads/subversion-1.6.3.tar.gz
http://subversion.tigris.org/downloads/subversion-deps-1.6.3.tar.gz tar XVFZ subversion – 1.6.3. Tar. Gz
the tar XVFZ subversion-deps-1.6.3.tar.gz
CD subversion-1.6.3/neon/
sudo apt-get install libssl-dev libxml2-dev
./configure –with-ssl –with-pic
make
make install
CD.
rm -rf neon
edit /etc/ld.so.conf and add /usr/local/lib
ldconfig
./configure –with-ssl –with-neon=/usr/local
make
make install
dpkg –purge subversion
Read More:
- svn Key usage violation in certificate has been detected
- cURL error 60: SSL certificate problem: self signed certificate in certificate chain
- Idea svn connection https error report: E230001: Server SSL certificate verification failed: certificate issued
- svn: E230001: Server SSL certificate verification failed: certificate issued
- Oracle EM certificate error SSL_ error_ weak_ server_ cert_ Key
- Shell curl command reported an error: (60) SSL certificate problem: self signed certificate
- How to Fix SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed.
- [SSL: CERTIFICATE_VERIFY_FAILED] Certificate Verify Failed (_ssl.C:579)
- ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- GuzzleHttp cURL error 60: SSL certificate problem: self signed certificate
- Python uses requests to request and reports SSL: CERTIFICATE_VERIFY_FAILED error
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- Thoroughly solve check_ NRPE: Error – Could not complete SSL handshake.
- server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
- CHECK_NRPE: Error – Could not complete SSL handshake.
- centos nagios CHECK_NRPE: Error – Could not complete SSL handshake
- OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- cURL error 60: SSL certificate problem…
- URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)
- Jenkins SVN error Server SSL certificate verification failed: issuer is not trusted