1

Normally I use visual svn to setup and configure my svn repositories. By default visual svn uses https on port 8443. I want to create a script that export or checkouts some part of my repositories in a newly created server (cloud server). The only problem I am facing, is that when I try to do the svn export or checkout with the authentication arguments, I need to accept the ssl certificate on https. Is there any bash option to tell the os to accept the certificate?

Thanks a lot, and let me know if you need more information.

Geo
  • 3,071
  • 11
  • 42
  • 52

4 Answers4

1

You can use a form of:

yes t | svn co --no-auth-cache --username USER --password PASSWORD https://repo directory

to work around this problem.

Scott Pack
  • 14,907
  • 10
  • 53
  • 83
1

If you have your own CA, which has signed the server cert; you can trust that ca.

hayalci
  • 3,631
  • 3
  • 27
  • 37
0

There is no bash option which tells the OS to accept the certificate.

fpmurphy
  • 841
  • 6
  • 13
0

You need to trust the unsigned certificate, or purchase a certificate from a trusted vendor.

Instructions here.

duffbeer703
  • 20,797
  • 4
  • 31
  • 39