libgit2 / rugged

ruby bindings to libgit2
MIT License
2.24k stars 277 forks source link

Ignoring SSL certificate #620

Open ceilfors opened 8 years ago

ceilfors commented 8 years ago

I'm getting The SSL certificate is invalid (Rugged::SslError) error when trying to fetch from a git server with self-signed certificate.

Is there any way to ignore the SSL certificate? Setting http.sslVerify to false doesn't seem to work as well.

mkanoor commented 8 years ago

https://github.com/libgit2/rugged/pull/571