objective-git icon indicating copy to clipboard operation
objective-git copied to clipboard

Supporting self-signed certificates

Open aral opened this issue 10 years ago • 2 comments

I’m using a self-signed certificate in development (local testing only) via a basic Git HTTPS server in Node.js.

I see that the option to skip the certificate check was removed in d2bdd34a29e34e0127622edb19ed1999bbc0ec2f — has anything changed since then? How do we support skipping the cert check (ala git config --global http.sslVerify false via CLI) in Objective-Git?

(“We need to re-enable it” is a valid response but I didn’t want to do that without having a chat about it.) :)

Update: I made the development server run over HTTP to avoid the issue. Would be nice to know what the recommended flow is for self-signed certs for the future though (I’d like to keep the dev/production environments as close as possible.)

aral avatar Oct 22 '15 10:10 aral

Yeah, it looks like we just haven't added support back in since we removed it. Pull requests welcome :smile:

joshaber avatar Oct 22 '15 14:10 joshaber

#505 has some details on this

phatblat avatar Oct 22 '15 14:10 phatblat