Allow ca_path option for reposman.rb to validate peer certificate
I use the following command for automatic SVN repository creation:
ruby /opt/redmine/extra/svn/reposman.rb --redmine https://localhost/redmine --svn-dir /var/svn --owner www-data --url file:///var/svn/ >> /var/log/redmine-reposman.log
I get this warning twice during the execution:
warning: peer certificate won't be verified in this SSL session
When replacing 'https://localhost/redmine' to 'http://localhost/redmine' the warning disappears. How can the peer certificate be verified (I have a valid certificate, so this must be possible)? Or how can the peer verification be skipped (if redmine is only accessible on https)?
Thank you for looking into this issue.
#4 Updated by digi byte over 12 years ago
I solved my problem by creating a new file: redmine/extra/svn/soap/property
This is the content of the property file:
Where you can of course change the path to the corresponding CA certificate.
I also had to execute this command to add SSL support:
gem install httpclient
I hope this can be interesting for other people using Redmine. Issue can be closed for me.