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
:
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.
This error occurs when you try upload a certificate which was already uploaded with a different name.
To resolve this error:
Check if the certificate is already existing with another name, delete the existing certificates and try to upload again.
Or Re-export the certificate and upload it to App Service.
Tested the same in my environment as below:
I have uploaded a .cer
certificate in App Service.
When I tried to upload the same certificate with a different name, I got the same error.
Deleted the existing certificate and uploaded it again. Able to add the certificate to App Service.