Global Subversion Settings for CA Certificates

How to avoid
Error validating server certificate for 'https://host.example.com:443':
when doing
svn co https://svn.example.com/project/trun
in a system-wide manner:
wget -O /etc/ssl/certs/your_cer.pem https://example.com/your_cert.pem
mkdir /etc/subversion
cat <<EOF > /etc/subversion/servers
[global]
ssl-authority-files = /etc/ssl/certs/your_cer.pem
EOF

No comments:

Post a Comment