cyberark / conjur-service-broker

Implementation of the Open Service Broker API for Conjur

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty CONJUR_SSL_CERTIFICATE environment variable causes error

izgeri opened this issue · comments

If the service broker is turned on with an empty CONJUR_SSL_CERTIFICATE environment variable, the health check will fail with the error OpenSSL::X509::CertificateError: header too long because the empty string ConjurClient.ssl_cert is evaluating to true in lib/conjur_client.rb.

The service broker needs to be updated to handle when the CONJUR_SSL_CERTIFICATE env var is present but empty.