How to Apply SSL Certificates on Azure Web App Using DigiCert
Introduction
Securing your Azure Web App with an SSL certificate ensures data transmission is encrypted and secure. This guide explains how to apply an SSL certificate on an Azure Web App using DigiCert.
Prerequisites
- Azure Subscription - Ensure you have access to an Azure portal account.
- DigiCert SSL Certificate - Purchase and download the SSL certificate from DigiCert.
- Custom Domain Setup - A custom domain configured on your Azure Web App.
Step 1: Generate Certificate Signing Request (CSR)
- Go to the Azure portal.
- Navigate to the App Service and select your web app.
- Open TLS/SSL settings.
- Click on Private Key Certificates (.pfx).
- Generate a CSR using IIS (Internet Information Services) Manager on your local machine:
- Open IIS Manager.
- Select the server name in the Connections pane.
- Double-click Server Certificates.
- Click Create Certificate Request.
- Fill in the required details and save the CSR.
Step 2: Purchase and Download Certificate from DigiCert
- Go to the DigiCert website and log in.
- Submit the generated CSR to purchase an SSL certificate.
- Once validated, download the certificate in .pfx format.
Step 3: Upload Certificate to Azure
- In the Azure portal, navigate to your App Service.
- Go to TLS/SSL settings.
- Click on Private Key Certificates (.pfx).
- Select Upload Certificate and browse to the downloaded .pfx file.
- Enter the password used during the export of the certificate.
- Click Upload.
Step 4: Bind Certificate to Custom Domain
- Navigate to the Custom Domains section of your Web App.
- Select the domain you want to bind the certificate to.
- Click Add Binding.
- Select the uploaded certificate from the dropdown.
- Choose SNI SSL as the SSL Type.
- Click Add Binding.
Step 5: Verify SSL Binding
- Open your website URL in a browser.
- Verify the HTTPS lock icon appears.
- Use online SSL verification tools to check for any issues.
Common Troubleshooting Tips
- Certificate Upload Error: Double-check the password for the .pfx file.
- Domain Binding Issues: Confirm the DNS settings point to Azure App Service IP address.
- SSL Not Working: Clear browser cache or try accessing via incognito mode.
Conclusion
Applying SSL certificates on an Azure Web App using DigiCert ensures your website is secure and trustworthy for visitors. Following these steps simplifies the process and ensures proper configuration.
For further assistance, refer to Azure Documentation or contact DigiCert Support.