I have an Azure Web App that communicates with a third party API, which uses OAuth 1.0a or similar and as part of that requires an SSL certificate. The provided SSL certificate I need to use comes with its own certificate chain (root, intermediate and SSL certificate).
I have exported the certificate chain to a .pfx file and uploaded it into the SSL certificates section in the Azure Preview Portal and am using WEBSITE_LOAD_CERTIFICATES *
in the App settings.
The problem is that the root and interim certificates do not get imported. Is this expected behavior and how do I fix it? Or is this something not supported by Azure Web Apps?
Edit:
The way I export the certificate chain is using PowerShell:
Export-PfxCertificate -Force
-ChainOption BuildChain
–Cert cert:\localmachine\my\#mythumbprint#
–FilePath c:\temp\myexport.pfx
-Password $(ConvertTo-SecureString -String "password" -Force –AsPlainText)
BuildChain
– Ivan Zlatev