Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

4 Answers 4

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

share|improve this answer

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.

share|improve this answer

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

share|improve this answer
    
Thanks Murphy. Do you have any opinion in how to overcome this difficulty? –  Geo Jul 6 '09 at 21:58

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

Instructions here.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.