cyberark / conjur-api-ruby

Ruby client for the CyberArk Conjur API
https://rubygems.org/gems/conjur-api
Apache License 2.0
3 stars 5 forks source link

Blank CONJUR_SSL_CERTIFICATE gives error #133

Closed izgeri closed 6 years ago

izgeri commented 6 years ago

If I try to use the Ruby API with a CONJUR_SSL_CERTIFICATE environment variable set to a blank value, I get the error: ERR OpenSSL::X509::CertificateError: header too long

Ideally the Ruby API will treat a blank value for this env var the same as if this env var were unset.

izgeri commented 6 years ago

The Ruby API is actually handling this quite elegantly - the issue I experience appears to be related to some code in the Conjur service broker. I've opened a new issue in that repo here, and will be closing this issue.