UKHomeOffice / vault-sidekick

Vault sidekick
Apache License 2.0
195 stars 62 forks source link

Create ca_chain file when using fmt=cert #91

Closed jprelph closed 4 years ago

jprelph commented 5 years ago

It would be useful when using the PKI backend if fmt=cert would also pull out the ca_chain as well as the existing crt, ca and key files.

james-bjss commented 5 years ago

Had a look into this and as @jprelph says the ca_chain values are not written out. In our case we have two certs in this chain and we only get the root CA written out to file.

I have had a first stab at fixing this on my fork: https://github.com/UKHomeOffice/vault-sidekick/pull/93

Some questions about the solution

Other notes