Supporting self-signed certificates
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.)
Yeah, it looks like we just haven't added support back in since we removed it. Pull requests welcome :smile:
#505 has some details on this