Extract the Certificate files - Self-Signed Certificate

204 Views Asked by At

I have created a self-signed certificate on my Kubernetes cluster. I can now see that the certificate is showing the status READY = True. When I describe the secret of this certificate, I can see the below.

Output of Secret

How do I extract the above files so I can use them to secure my website?

1

There are 1 best solutions below

1
On

I found the answer. The keys are stored in the secret that we provide in the certificate.yaml file! I just had to do an edit secret and copied the content over.