Question

I am using post commit hook in visual svn. I am trying to checkout the files committed to the repository:

When I commit the file, I get the below error in post commit hook:

D:\Program Files\VisualSVN Server>"D:\Program Files\VisualSVN Server\bin\svn.exe" checkout https://***.**.**/svn/Mobile/Node/trunk C:\MyProject 
Error validating server certificate for 'https://***.***.**:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: ALPHADEV.phipaper.dom
 - Valid: from Tue, 23 Feb 2010 21:36:08 GMT until Fri, 21 Feb 2020 21:36:08 GMT
 - Issuer: ALPHADEV.phipaper.dom
 - Fingerprint: 8a:33:33:56:00:56:44:4f:6d:d3:80:c5:ba:79:1a:cd:7a:f3:27:84
(R)eject, accept (t)emporarily or accept (p)ermanently?

How to fix this issue

Was it helpful?

Solution

Use --trust-server-cert --non-interactive additional options for checkout

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top