当使用https://形式的URL连接Apache时,Subversion客户端将会受到两个类型的响应:
1、一个服务器证书
2、一个针对客户端证书的请求
在本人的应用场景主要涉及SVN仓库迁移的操作,需要将大量的远程仓库集中迁移到本地仓库进行管理。所以这里主要描述服务器证书相关的问题,因为需要使用脚本执行Subversion的svnrdump命令,在执行的过程中碰到如下提示信息:
Error validating server certificate for 'https://...:端口号':
The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
The certificate hostname does not match.
Certificate information:
Hostname: ..cn
Valid: from Wed, 29 Nov 2017 01:24:36 GMT until Sat, 27 Nov 2027 01:24:36 GMT
Issuer: CMBAUTOTEST01TS.ho18t.cmbchina.cn
Fingerprint: cf:1f:c4:f0:9e:a3:42:0f:75:23:50:56:54:6e:11:71:df:a7:d3:9f
(