Hi everyone,
I need to generate a wilcard certificate and store the key as pkcs1 and pkcs8 because one of my apps use pkcs8 encoding.
Can we declare the keyEncoding as a list as show in the example below?
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: example-pkcs8-cert
spec:
secretName: example-pkcs8-secret
keyEncoding:
- pkcs1
- pkcs8
dnsNames:
- *.example.com
issuerRef:
name: my-internal-ca
kind: Issuer
What I spect to obtain is an additional data field in the secret generted as show bellow:
apiVersion: v1
data:
ca.crt:
tls.crt:
tls.key:
tls.pkcs8.key:
This is for in a situation like mine, simplify the process of creation and management of the certificate without the need of create two certificate kind resource with each associated secret.
Thank you
Best regards