Create a SSL Certificate for an Azure WebApp

There are various methods for creating a certificate for use on Azure. I have found that using IIS manager is the easiest. You can install IIS Express on your workstation or access on a server.

  1. Open IIS and go to “Server Certificates”

server certs
2. Click Create Certificate Request…. and fill out the details

3. Set the bit length a click next

bit length
4. Save the request to a file.

5. Open the text file and copy the contents to the clipboard. Paste into to your favorite Certificate Authority.

6. Once you have received the certificate back from the CA double click to open it and go to Install Certificate….


Select Local Machine then Next
7. Launch MMC and open the Certificate Snap-In for the Local Computer

8. Go to Personal\Certificates, right click your certificate and go to Export….
Click Next and Yes, export the private key

Leave the defaults and click next
Set a password and User or Group with access
Create a name for the file and click next then finish.

Our certificate should now be ready for use on Azure.

9. Open Azure Portal and go to WebApps
10. Click on the WebApp you want to update and  go to Settings\Custom domains and SSL

11. Click Upload Certificates and  select the PFX File we just created. Enter the password and press Save

12. Finally we need to update the bindings to use the new cert

Remember to click Save to finish!

To be on the safe side you can check your cert is working with one of the many free online tools

For more info on creating certificates for Azure WebApps check out this link:


Posted in Azure, Cloud, Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: