Cannot convert certificate to PFX for Azure Web App

generalissimo 1 Reputation point
2021-04-14T09:32:59.56+00:00

I have a Godaddy certificate with one .CRT, one .PEM, and one .P7B file which I am having difficulties with. I have tried to use MMC and IIS on VM but still cannot export to PFX with password which is required for Azure Web App SSL renewal.
87667-screen.png

I have also tried OpenSSL but failed spectacularly so I clearly need help here to continue. How do I proceed?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,956 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 18,366 Reputation points
    2021-04-14T14:46:44.293+00:00

    Thanks for asking question! After registering certificate to your local IIS > right click on the .p7b file that was included in the GoDaddy zip file and choose “Install Certificate.” Then the Certificate Import Wizard will walk through a few simple steps and click the “Finish” button > then you have to export the certificate as a .pfx file so that it can be uploaded to Azure.

    You may refer to this helpful blog Install SSL Certificate To Azure Web Application

    Other than this you may also Install Open SSL ( https://www.openssl.org/policies/releasestrat.html) and use the following command to convert the cert to pfx.

    openssl pkcs12 -export -in D:\Cert\yourdomain.com.cer -inkey yourkeyfile.key -out D:\Certs\yourdomain.com.pfx

    Check this step by step guide on How to convert SSL cert to Pfx

    Alternatively check: Install your certificate in MMC and export the PFX file

    Hope this helps. Let us know if issue remains.

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you.

    0 comments No comments