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.
- Open IIS and go to “Server Certificates”
2. Click Create Certificate Request…. and fill out the details
3. Set the bit length a click next
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 https://portal.azure.com/ 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
https://www.ssllabs.com/ssltest/
https://www.sslshopper.com/ssl-checker.html
For more info on creating certificates for Azure WebApps check out this link:
https://azure.microsoft.com/en-gb/documentation/articles/web-sites-configure-ssl-certificate/