Linux – How to accept a ssl certificate in a bash or other script

httpslinuxsslsvnvisualsvn-server

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.

Best Answer

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