Specialise Bundle
for X.509 Certificates
#44
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
(This is a follow up from discussions which took place in the cert-manager biweekly meeting on 2022-07-27)
Currently
Bundle
is essentially a Kubernetes implementation of the Unixcat
command - it takes several text inputs and concatenates them into an output. This allows it to be agnostic to the type of thing it's concatenating, but it has a few shortcomings:For example, it's currently essentially impossible to create a TLS trust
Bundle
which includes as inputs a list of PEM certificates and separately a DER-encoded certificate, and produce an output in any meaningful format. Without context, we can't decode the base64-encoded binary data for the DER certificate or convert it to PEM, and we can't concatenate a PEM input certificate with a DER certificate without doing some conversion beforehand.It would also be desirable to support outputting in PEM or JKS or other keystore types.
Proposal
What was discussed in the biweekly meeting was the following:
Bundle
as it exists today becomes specialised for X.509 certificates (specifically for the purposes of creating TLS trust bundles, but we can support X.509 more widely)Example
This would produce an output containing all the certs in "my-pem-certs" with the cert in "my-der-cert" appended to the end. The output would be in PEM format.
The text was updated successfully, but these errors were encountered: