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
{{ message }}
Repository navigation
fly cli not finding an intermediate ca certificate #2133
Fly CLI was reporting that our x509 cert was signed by an unknown authority. Visiting the CI in any browser worked fine.
We then noticed that there is an intermediate CA certificate that the browsers were able to pick up from our system - which the fly cli did not. We're filing this issue since curl succeeded so I'd imagine fly would utilize the same set of ca certs.
A work around was to configure our atc_tls.certificate to contain both the cert and the intermediate CA.
Due to the limitation of go x509 package, there is no easy way to allow fly to pick up intermediate certs . The workaround is mentioned above, which is configure chain certs in concourse atc tls_cert for bosh deployment or --tls-cert for concourse web command.
Any updates to this? I dynamically generate the certs from LetsEncrypt, I'd rather not have to figure out how to get their intermediates and provide them explicitly, if possible.
Edit: I take it back, it was pretty easy to get the intermediate in my configuration
since I'm using terraform, it already had the issuer certificate available in the object's metadata, so I just appended that to the s3 file that my web node downloads on startup (see the content section):
Activity
bsnchan commentedon Apr 6, 2018
cc @dprotaso
xtremerui commentedon Jul 24, 2018
Due to the limitation of go x509 package, there is no easy way to allow fly to pick up intermediate certs . The workaround is mentioned above, which is configure chain certs in concourse atc
tls_certfor bosh deployment or--tls-certfor concourse web command.bump etree tsa handlers mux clockwork goxmldsig genproto grpc
jdeppe-pivotal commentedon Nov 2, 2018
Is this not fixed now? https://go-review.googlesource.com/c/go/+/36942
eedwards-sk commentedon Jan 10, 2019
Any updates to this? I dynamically generate the certs from LetsEncrypt, I'd rather not have to figure out how to get their intermediates and provide them explicitly, if possible.
Edit: I take it back, it was pretty easy to get the intermediate in my configuration
since I'm using terraform, it already had the issuer certificate available in the object's metadata, so I just appended that to the s3 file that my web node downloads on startup (see the
contentsection):