You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bit of a special snowflake situation, but our GitHub Enterprise has been configured with an additional layer of security whereby a client certificate needs to be sent along with all requests to it.
I've built support for this and am wondering if I could possibly send it upstream. Would you be open to a patch that allows hub to support this through either something like a configuration option or an environmental variable?
Thanks for the response and guidance @mislav! I still need to clean up my diff into something patch-worthy, but I wanted to acknowledge that I still plan to do this.
Adds support for sending a client certificate to a GitHub Enterprise
server.
The client certificate should be encoded with PKCS12 and its path should
be set with the configuration option `client_certificate`.
Fixesmislav#1494.
This is a bit of a special snowflake situation, but our GitHub Enterprise has been configured with an additional layer of security whereby a client certificate needs to be sent along with all requests to it.
I've built support for this and am wondering if I could possibly send it upstream. Would you be open to a patch that allows
hub
to support this through either something like a configuration option or an environmental variable?My proposed interface would be a little like how client certificates are sent in cURL, probably requiring that a certificate and private key are stacked into a single PEM-encoded file (with possible PKCS#12 support through
golang.org/x/crypto/pkcs12
). It might be better as environmental variable given how few people are going to ever need this (a little like configuring a proxy).Any thoughts? Thanks!
The text was updated successfully, but these errors were encountered: