Sample Header Ad - 728x90

svn: automatically accept server certificate

2 votes
4 answers
13092 views
I'd like to automize a build process which involves getting some code from an svn repository. The server certificate is not automatically trusted. Things that I tried but that don't work: 1. svn checkout --non-interactive --trust-server-cert --username name --password password --no-auth-cache -r revision https://server.address/trunk/ results in svn: E230001: Server SSL certificate verification failed: certificate has expired, issuer is not trusted 2. echo "t" | svn checkout --username name --password password --no-auth-cache -r revision https://server.address/trunk/ results in the same result svn: E230001: Server SSL certificate verification failed: certificate has expired, issuer is not trusted However, when using svn checkout --username name --password password --no-auth-cache -r revision https://server.address/trunk/ then the dialog (R)eject or accept (t)emporarily? appears, and when pressing 't' the source gets fetched. Particularly the manual method and the echo "t" method confuses me, because it should actually be the same thing. Has anybody an explanation for this or knows a solution that could work?
Asked by user236012 (2285 rep)
Oct 22, 2016, 04:13 PM
Last activity: Aug 2, 2024, 06:31 AM