[How to Solve] SSL handshake failed: SSL error

SSL handshake failed: SSL error: key usage violation in certificate has been detected appears when downloading the source code of SVN linked with HTTPS on Linux server

The reason for the error is that the certificate used by windows is not recognized by Linux

Add the following registry value to the windows registry: (mine is 64 bit)

for 32-bit system: (run regedit – > Find the following registry key – > Add a value of type DWORD)

[HKEY_LOCAL_MACHINE\SOFTWARE\VisualSVN\VisualSVN Server]
"CreateGnuTLSCompatibleCertificate"=dword:00000001

for 64-bit system:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VisualSVN\VisualSVN Server]
"CreateGnuTLSCompatibleCertificate"=dword:00000001

StartVisualSVN Server Manager.(Open virsualSVN server)

Go toAction | Properties | Certificate.

ClickChange certificate…

Select Create new self-signed cetificate.

Next all.

If you run svn again on Linux, you will be prompted with a warning that the certificate generator is not trusted, just select Accept Permanently.

Similar Posts: