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
Credhub integration is not working in 3.9.0. It looks like a refactor (9a105c1) was done to the atc_ctl.erb for updates to Credhub CA Cert. This moved the credhub.client_id and credhub.client_secret to credhub.tls.client_id and credhub.tls.client_secret respectively. The atc spec is still referring to them as credhub.client_id and credhub.client_secret.
Sorry about that, those properties are indeed borked. The template should have actually been referring to them as credhub.client_id and credhub.client_secret. The credhub.tls.* stuff is different; that's for configuring client cert based auth.
Ironically this was all refactored to improve testability, and we're now testing CredHub integration in our pipeline, but we're testing it with cert based auth as deploying a UAA and configuring the client ID/secret based auth is too heavy-handed and annoying for our pipeline. So in adding test coverage we broke the one use case people were using before. :( Sorry. This will be out in 3.9.1.
@rahulkj That may be a different behavior. Prior to 3.9.0 the CA cert field was actually completely ignored, and I believe the ATC would just always skip verification. This was a bug that we fixed. So it may be that the CA cert that you've configured this whole time is actually invalid or malformed.
@scnewma FWIW, as of 3.9.0 we're testing with CredHub 1.7.0. I'm not sure if 1.6.5 will work with 3.9.0. (It might - just pointing out we haven't tested it, as our pipeline has moved forward.)
@vito Thanks for the quick fix! I'm testing internally with a development release that made the same changes that you did, and it works as expected with Credhub 1.6.5. I see a Credhub upgrade in my future though.
Activity
jama22 commentedon Feb 14, 2018
@scnewma what version of credhub are you using with 3.9.0?
scnewma commentedon Feb 14, 2018
@jama-pivotal 1.6.5
rahulkj commentedon Feb 15, 2018
Exact same issue and also getting the error
provided ca certs are invalidwhile upgrading to 3.9.0vito commentedon Feb 15, 2018
Sorry about that, those properties are indeed borked. The template should have actually been referring to them as
credhub.client_idandcredhub.client_secret. Thecredhub.tls.*stuff is different; that's for configuring client cert based auth.Ironically this was all refactored to improve testability, and we're now testing CredHub integration in our pipeline, but we're testing it with cert based auth as deploying a UAA and configuring the client ID/secret based auth is too heavy-handed and annoying for our pipeline. So in adding test coverage we broke the one use case people were using before. :( Sorry. This will be out in 3.9.1.
@rahulkj That may be a different behavior. Prior to 3.9.0 the CA cert field was actually completely ignored, and I believe the ATC would just always skip verification. This was a bug that we fixed. So it may be that the CA cert that you've configured this whole time is actually invalid or malformed.
@scnewma FWIW, as of 3.9.0 we're testing with CredHub 1.7.0. I'm not sure if 1.6.5 will work with 3.9.0. (It might - just pointing out we haven't tested it, as our pipeline has moved forward.)
scnewma commentedon Feb 15, 2018
@vito Thanks for the quick fix! I'm testing internally with a development release that made the same changes that you did, and it works as expected with Credhub 1.6.5. I see a Credhub upgrade in my future though.
bump etree tsa handlers mux clockwork goxmldsig genproto grpc