question

Reasuquo avatar image
0 Votes"
Reasuquo asked MohannadAlzubi-1136 commented

What password does an Azure App Service Certificate have when exported as PFX?

I have purchased an App Service Certificate from Azure, but I need to change the password of it to install it in an Application Gateway. What is the password of the certificate by default? How would I change it?

azure-webapps
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.

1 Answer

kobulloc-MSFT avatar image
1 Vote"
kobulloc-MSFT answered MohannadAlzubi-1136 commented

Answered by IgnacioAlvarezArenas:

The default password of the App Service Certificate when exported as PFX is empty, but as you say you cannot import it to the Application Gateway as it needs a password (other services in Azure do too). In order to change it, you can run this commands with OpenSSL (download: https://wiki.openssl.org/index.php/Binaries):

Export the PFX and private key to .pem:

openssl pkcs12 -in .\old.pfx -out old.pem -nodes

Then create a new PFX:

openssl pkcs12 -export -out .\new.pfx -in old.pem

In Windows you can import it in your machine, mark the key as exportable when importing it (there is a menu for this), and then after installing it locally, export it. Make sure to click in "export private key"



· 1
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.

Hello,

I bought SSL certificate from Azure and when I am trying to upload the pfx it giving me this error: "Upload for private certificate failed. Check the notification error for more details." I tried to click for more details but there is nothing. Can you help please and advice what is the issue?

Thanks!

0 Votes 0 ·