For years I was able to upload new pfx files for SSL binding on Azure App Services using the OpenSSL creation method in
What ways can this issue be resolved?
CodePudding user response:
App Service private certificate requirements
App Service private certificates must meet
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.