Home > front end >  Azure App Service unable to validate .pfx file: Certificate failed validation because it could not b
Azure App Service unable to validate .pfx file: Certificate failed validation because it could not b

Time:07-19

For years I was able to upload new pfx files for SSL binding on Azure App Services using the OpenSSL creation method in pfx error

What ways can this issue be resolved?

CodePudding user response:

App Service private certificate requirements

App Service private certificates must meet export pfx result

Use this thumbprint to export the cert to a new pfx file, replacing the -Cert, -FilePath, and password -String arguments:

Export-PfxCertificate -Cert Microsoft.PowerShell.Security\Certificate::LocalMachine\My\B56CE9B122FB04E29A974A4D0DB3F6EAC2D150C0 -FilePath 'newPfxName.pfx' -Password (ConvertTo-SecureString -String 'MyPassword' -AsPlainText -Force)

Azure should now be able to validate the new pfx file output.

  • Related