I am getting "Cannot upload public certificate with the same thumbprint." error when trying to upload my self signed public certificate to an Azure app service. The certificate was created using powershell New-SelfSignedCertificate command and the public key was exported to a DER encoded X.509 .cer file. I have no other certificates installed on the app service.
In the Azure portal, from the left menu, select App Services > <app-name>. From the left navigation of your app, start the TLS/SSL Binding dialog by: Selecting Custom domains > Add binding. Selecting TLS/SSL settings > Add TLS/SSL binding.
Upload certificate to App Service In the Azure portal, from the left menu, select App Services > <app-name>. From your app's navigation menu, select TLS/SSL settings > Private Key Certificates (. pfx) > Upload Certificate.
Certificates used by Azure can contains a public key. Certificates have a thumbprint that provides a means to identify them in an unambiguous way. This thumbprint is used in the Azure configuration file to identify which certificate a cloud service should use.
If you are using Free or Shared pricing tier for the service plan, you will encounter such error message since ssl feature is not supported. If you scale up your app service plan to tier Basic, you will not encounter such error.
You can find the capabilities and limits of app service plan here.
With free tier.
With Basic tier.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With