just add
--trust-server-cert-failures="other,unknown-ca,cn-mistmatch,expired"
When using SVN to connect secure server, the server needs to send its certificate to the client for verification. In some cases, the certificate sent by the server is not a trusted certificate, the client may choose to trust the certificate if the server is target server for sure.
But users may get "Error validating server certificate for 'https://...'" the next time when they try to connect to the same secure server even if they specified "p" the first time when they are prompted to accept the server certificate.
Error validating server certificate for 'https://example.com': - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! Certificate information: - Hostname: ... - Valid: from Wed, 01 Sep 2010 08:25:36 GMT until Thu, 06 Oct 2011 08:25:36 GMT - Issuer: ... - Fingerprint: ... (R)eject, accept (t)emporarily or accept (p)ermanently? p
The reason why this happens is usually that the server certificate cache is not updated even if the "p" is specified. To resolve the issue, please follow below steps :
The svn.ssl.server contains the cached server certificates. When specifying the "p" option, this directory may not be updated correctly, hence it may need to be manually cleared.
Anonymous [Reply] | @ 2021-03-03 15:27:51 |
|
Hi, I have tried deleting both directories, but still its not working.