Kubernetes service FQDN is included in SANs in the CSR generated by manual-tls-certificates charm even though csr-domain-name
is set in istio-pilot config
#557
Labels
bug
Something isn't working
Bug Description
Hi,
I configured
csr-domain-name
in istio-pilot and related it to manual-tls-certificates. When Ijuju run manual-tls-certificates/leader get-outstanding-certificate-requests
the generated CSR incorrectly includes Kubernetes service FQDN:The inclusion of
svc.cluster.local
type of domains in CSR is not supported by 3rd party CAs, such as Let's Encrypt:The expected behavior is using the same address (
csr-domain-name
) in CN and SAN fields (or even omitting CN completely).Other charms, such as Traefik behave correctly, please see an example CSR generated using the same steps:
To Reproduce
Environment
Relevant Log Output
Additional Context
No response
The text was updated successfully, but these errors were encountered: