question

generalissimo avatar image
0 Votes"
generalissimo asked SnehaAgrawal-MSFT commented

Cannot convert certificate to PFX for Azure Web App

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-webappsazure-webapps-ssl-certificates
screen.png (9.6 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Do you know what is a private key and where you put that key when generating the certificate request? If not, maybe you have lost that key and have to restart from the scratch.

0 Votes 0 ·

Just checking in to see if the below answers helped. If this answers your query, do click “Accept Answer” and Up-Vote for the same. And, if you have any further query do let us know.

0 Votes 0 ·

1 Answer

SnehaAgrawal-MSFT avatar image
0 Votes"
SnehaAgrawal-MSFT answered

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.





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.