跑步:
svn checkout https://hostname
給出:
svn: E170013: Unable to connect to a repository at URL 'http://hostname'
svn: E120171: Error running context: An error occurred during SSL communication
運行此命令:
curl -v --insecure https://hostname
給
* 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
我嘗試使用“MinProtocol = TLSv1”修復 openssl 配置,但這無濟于事。
請幫忙
Ubuntu 22.04 LTS
uj5u.com熱心網友回復:
嘗試使用--trust-server-cert,并了解您正在繞過證書檢查。
SVN 檔案:https ://svnbook.red-bean.com
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/474939.html
