Home > Blockchain >  Can't do svn checkout because of TLS error
Can't do svn checkout because of TLS error

Time:05-12

Running:

svn checkout https://hostname

gives:

svn: E170013: Unable to connect to a repository at URL 'http://hostname'
svn: E120171: Error running context: An error occurred during SSL communication

Running this command:

 curl -v --insecure  https://hostname

gives

*   Trying 10.181.203.1:2795...
* Connected to 10.181.203.1 (10.181.203.1) port 2795 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.0 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.0 (IN), TLS header, Certificate Status (22):
* TLSv1.0 (IN), TLS handshake, Certificate (11):
* TLSv1.0 (IN), TLS header, Certificate Status (22):
* TLSv1.0 (IN), TLS handshake, Server key exchange (12):
* TLSv1.0 (OUT), TLS header, Unknown (21):
* TLSv1.0 (OUT), TLS alert, internal error (592):
* error:0A0C0103:SSL routines::internal error
* Closing connection 0
curl: (35) error:0A0C0103:SSL routines::internal error

I tried to fix openssl config with "MinProtocol = TLSv1" but that doesn't help.

Help please

Ubuntu 22.04 LTS

CodePudding user response:

Try with --trust-server-cert , with an understanding that you are bypassing a certificate check.

SVN doc: https://svnbook.red-bean.com

  • Related