(2 votes, average: 5.00 out of 5)
If you’re using Microsoft Azure to host your website, the process of installing an SSL certificate is simple and straightforward. In this blog, we’ll walk you through the steps of obtaining an Azure SSL certificate and installing it on your Azure web server.
Generating a CSR code for Microsoft Azure requires a different process compared to other server platforms, as Azure does not have the option to generate the code within its interface. Azure only allows for the uploading of SSL certificates from the Azure console. To complete this process, you will need to use the IIS (Internet Information Services) manager on a local Windows machine, then install your certificate on the IIS server, and finally export it as a PFX format from the Windows server before importing it into the Microsoft Azure portal.
Before securing your Azure web app with an SSL certificate, ensure the certificate meets the criteria:
Note: Only Basic, Standard, Premium, or Isolated web app plans support third-party certificates.
Step 1: Download the certificate archive and extract it.
Step 2: Combine the server, root, and intermediate certificates into a single “mergedcertificate.crt” file in the sequence: server, intermediate 1 & 2, root.
The next step is to export the merged SSL certificate along with its private key to a PFX file.
Here is the process to export the SSL certificate as a PFX file using OpenSSL:
openssl pkcs12 -export -out 5. myserver.pfx -inkey -in <merged-certificate-file>
Remember to replace <merged-certificate-file> and the other placeholders with the actual paths to your private key and merged certificate file.
To upload the certificate to your Azure App Service, follow these steps:
You can buy an Azure security certificate from Cheap SSL Web. To get started, simply visit the Cheap SSL Web website, compare the various SSL certificate types, and choose the Azure load balancer SSL to secure incoming traffic to your website using SSL certificates.