Describe the bug:
When using CA Issuer and when providing more than one intermediate CA, incomplete CA chain is added to the generated certificates. Please see below example:
Issuer TLS.CRT
Generated entity certificate CA.CRT
Generated entity certificate TLS.CRT
so ROOT CA is missing.
Expected behaviour:
Attach full CA chain no matter how many intermediate CA is being used. So below will be possible.
Generated entity certificate TLS.CRT
Steps to reproduce the bug:
Anything else we need to know?:
Environment details::
/kind bug
so ROOT CA is missing.
this is expected - the root CA should be installed onto the client machines through some other means (i.e. on user's computers, the set of 'trusted public roots' are installed by your OS provider, i.e. Apple, Microsoft, etc).
Generated entity certificate CA.CRT
ISSUING INTERMEDIATE CA
Is this meant to say 2ND LEVEL ISSUING INTERMEDIATE CA? If so, this is _also_ correct, as that is the CA that was used to actually sign the certificate.
so ROOT CA is missing.
this is expected - the root CA should be installed onto the _client_ machines through some other means (i.e. on user's computers, the set of 'trusted public roots' are installed by your OS provider, i.e. Apple, Microsoft, etc).
Assuming that's the expected behavior, is there any way to change it to also attach Root CA to the CA chain? If there is no obvious config option, can you point to the source code?
Generated entity certificate CA.CRT
ISSUING INTERMEDIATE CAIs this meant to say
2ND LEVEL ISSUING INTERMEDIATE CA? If so, this is _also_ correct, as that is the CA that was used to actually _sign_ the certificate.
Yes, I meant to say 2ND LEVEL ISSUING INTERMEDIATE CA, and that's correct.
We a similar issue https://github.com/jetstack/cert-manager/issues/2166
Forget about my previous comment, this is not exactly the same issue
I would be interested too, if we can add the root CA聽in the chain.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to jetstack.
/lifecycle stale
Most helpful comment
Assuming that's the expected behavior, is there any way to change it to also attach Root CA to the CA chain? If there is no obvious config option, can you point to the source code?
Yes, I meant to say
2ND LEVEL ISSUING INTERMEDIATE CA, and that's correct.