我们有一个通过自签名服务器证书在https上公开的Subversion网站,并且工作正常。
,但是我们想在任何内部机器上接受/添加此不受信任的服务器证书,以便svn命令不显示任何提示。因为它是内部服务器,所以我们可以将此服务器证书添加为受信任证书。
bash-4.2$ svn export --force http://build-svn.eng.vmware.com/svn/adm /tmp/T7lit -r87836
Redirecting to URL 'https://build-svn.eng.vmware.com/svn/adm':
Error validating server certificate for 'https://build-svn.eng.vmware.com:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: *.eng.vmware.com
- Valid: from Thu, 12 Nov 2015 00:00:00 GMT until Sat, 09 Feb 2019 12:00:00 GMT
- Issuer: www.digicert.com, DigiCert Inc, US
- Fingerprint: 0c:bd:a4:e0:be:5c:8a:e3:0c:b0:11:e0:7e:35:1d:24:d3:19:8b:43
(R)eject, accept (t)emporarily or accept (p)ermanently?
我可以使用
获得ssl证书信息openssl s_client -connect build-svn.eng.vmware.com:443
但是如何从网站URL直接将不受信任的服务器证书导入本地计算机?