Creating a Kubernetes TLS secret using certificates from DigiCert
It took me a while to make this work. I hope this will help someone out there who also is struggling with the same problem.
We use DigiCert as our SSL certificate provider. The package I received contained three files:
- a keyfile, filename.key
- a certificate file, filename.crt
- an intermediate certificate file, DigiCertCA.crt
I had to combine the two certificate files into a single file. I didn’t really check the order but I appended the intermediate certificate to my certificate file. Something like this:
I was able to successfully use the secret in a GCE Ingress:
---If you have any questions or feedback, please reach out @flowerinthenyt.