azurecertificatepublic-key

Add Public Key Certificate - Error uploading key certificate. The parameter location, thumbprint has an invalid value


I have App Service (SKU and size is PremiumV2 P3v2) and wanted to add certificate via Azure Portal. Went into Certificates then Public key certificates (.cer) and then Add certificate: enter image description here

I choose .cer file and name and have an error:

Add Public Key Certificate - Error uploading key certificate. The parameter location, thumbprint has an invalid value.

enter image description here


Solution

  • This error occurs when you try upload a certificate which was already uploaded with a different name.

    To resolve this error:

    Tested the same in my environment as below:

    I have uploaded a .cer certificate in App Service.

    enter image description here

    When I tried to upload the same certificate with a different name, I got the same error.

    enter image description here

    Deleted the existing certificate and uploaded it again. Able to add the certificate to App Service.

    enter image description here