I have an internal RubyGems registry from which I want to download some Gems. The registry is protected and requires a valid TLS Client Certificate.
I am able to reach the registry in Chrome (imported the certificate bundle into Chrome), but I am not able to do it with Bundler.
The documentation says ssl_client_cert
has to be:
Path to a designated file containing a X.509 client certificate and key in PEM format.
I get the following error when using the certificate provided:
either PUB key nor PRIV key: nested asn1 error
How do I assemble my certificate and key?