Bosh Director issue accessing certificates from CredHub
Michael Stancampiano
The following type of errors are occurring when Director attempts to access certificates stored in CredHub during a deployment:
- Failed to fetch variable '/secrets/consul_agent_cert/v1' from config server: Expected data[0] to have key 'value'
- Failed to fetch variable '/secrets/consul_agent_cert/v1' from config server: Expected data[0] to have key 'value'
The manifest deployment file uses dot notation to access the certificate values. Examples:
agent_cert: ((/secrets/consul_agent_cert/v1.certificate))
agent_key: ((/secrets/consul_agent_cert/v1.private_key))
Other CredHub types (password, ssh, value) are processed successfully by Director. The certificates appear to be correctly formatted and returned when using a client (curl, postman) to access them via the CredHub REST API. Is there a known issue with Director accessing certificates from CredHub? Our Director level is 262.3.
Thanks for any information that can be provided.
- Failed to fetch variable '/secrets/consul_agent_cert/v1' from config server: Expected data[0] to have key 'value'
- Failed to fetch variable '/secrets/consul_agent_cert/v1' from config server: Expected data[0] to have key 'value'
The manifest deployment file uses dot notation to access the certificate values. Examples:
agent_cert: ((/secrets/consul_agent_cert/v1.certificate))
agent_key: ((/secrets/consul_agent_cert/v1.private_key))
Other CredHub types (password, ssh, value) are processed successfully by Director. The certificates appear to be correctly formatted and returned when using a client (curl, postman) to access them via the CredHub REST API. Is there a known issue with Director accessing certificates from CredHub? Our Director level is 262.3.
Thanks for any information that can be provided.