Enable connecting to GitHub Enterprise with a self signed cert.
Use environment variable HUBOT_GITHUB_SELF_SIGNED_CERT. Set to false
by default.
Cool! Would you mind taking a shot at writing a test for this? Not sure what exactly nock offers in this department, but hopefully we can figure something out.
Note: This relies on https://github.com/technoweenie/node-scoped-http-client/pull/24.
I'll take a stab at some tests tomorrow. :sunrise: Remember, it relies on an unpublished version of scoped-http-client which hasn't been updated in about five months, so I'm a little worried about this.
I did test this with my hubot setup so I know it works as expected as long as the two PRs are both present. :smile:
Sounds good. That project has gone pretty quiet, though @technoweenie was still responsive the last time I needed to patch something upstream.
It looks like the passthrough rejectUnauthorized option will work on the node-scoped-http-client side should work without any changes. So this PR should be able to progress.