2

I am using the svnX Version 2.0 (2.0.017068) and I can't connect. We already have a certificate for it, but it is giving me these errors:

svn: E170013: Unable to connect to a repository at URL 'https://svn.sample.com/svn/web' svn: E230001: Server SSL certificate verification failed: issuer is not trusted

CoolDog
  • 137
  • 2
  • 10
  • I guess you'll need to 1) work out whether the certificate really is valid, e.g. try it with a browser or `openssl s_client` or `curl` or similar; 2) if it is, check the list of CAs that your SVN client is configured with to see why it isn't treating the certificate as valid. – Rup Aug 07 '18 at 14:13
  • 1) the certificate is valid, the certificateis from a local CA. 2) Where do I configure the list on the svnx software. I looked at all of the options (File, edit, Working Copy, Repository .... etc) – CoolDog Aug 07 '18 at 14:28
  • And all of your other software thinks it is valid, and will show you a full certification path back to the root CA? I don't know SVNX but I'd guess either it uses the Mac keychain or a bundle of CAs installed in its own folders, and I'd guess this won't be configurable through the UI except maybe on an 'advanced' menu somewhere. – Rup Aug 07 '18 at 14:39
  • 1
    @Rup Thank you for your help. I wanted to share this, .https://dikant.de/2007/08/27/importing-ssl-certificates-into-svnx/. By running this command `svn list https://whatever.server.com/repository/` i was able to fix it. Thanks again – CoolDog Aug 07 '18 at 15:15

1 Answers1

4

It suddenly happened to me today. I followed the steps from Rick: https://community.smartbear.com/t5/Collaborator/Server-SSL-Certificate-verification-failed-issues-is-not-trusted/td-p/96838

Please try running an "svn ls" or something similar from inside your working/checkout directory. You should be prompted to accept the certificate, make sure that you accept it permanently.

I did an svn update on the working directory.

Automatically, it asked me to accept the certificate. Just accept it.

Erik M
  • 59
  • 6
  • 1
    `Just accept it.` - there must be a better way. why does this fail with `/etc/ssl/certs/ca-bundle.crt`? i get this error for the domain `github.com`, so the validation should work – milahu Oct 01 '21 at 09:39