Home > front end >  Azure KeyVault generated certifcate is showing Not Valid in Browser
Azure KeyVault generated certifcate is showing Not Valid in Browser

Time:01-20

Created a self signed certificate in Azure KeyVault as below with DNS

Azure KeyVault Certificate

Have added the certificate to Azure Kubernetes Service as a secret using secret-store-csi-driver and added to ingress

Problem is while opening the DNS in browser it shows certificate is not valid as below

Certificate Not valid

The Certificate is already added to Trusted store and shows as below

Certificate Details

Certificate Details

Also, the certificate in browser is the one in Azure Keyvault certificate as evident from the validity date

What could be the issue?

CodePudding user response:

When you use self sign a certificate, your Operating System or Browser wont trust this Cert, as it is self signed and considered insecure for the Internet.

You need to use a Cert from a valid Certification Authority or import your CA root cert that created the cert into your OS or Browser. But every user need to so this.

A better approach is Cert-Manager ff you are using AKS. Cert-Manager can issue certificates from LetsEncrypt. Here is a workflow from Microsoft for this.

  •  Tags:  
  • Related