We have a need to set up SSL certificates for a number of the WordPress sites we have set up as an Azure Web App.
The simplest way to do this, at least for us, is to use the built-in CSR certificate request mechanism as we just happen to have a number of them about. 😉
To do so:
- Open the IIS console
- Navigate to ServerName (Domain\Domain.Admin)
- Double click the Server Certificates shortcut in the IIS section
- A plain text file is okay since we will be pasting the contents of the .TXT file into the Certificate Authority’s console
From here we go to the Azure portal and the Add Private Certificate (.pfx) blade and upload the certificate.
Put the password set to the .PFX file in and click the Upload button.
Azure should let us know things are happy.
On the SSL Binding blade we choose our domain name, the certificate we just uploaded, and SNI (Server Name Indication) that allows Azure to route the packets to the correct place.
Click the Add binding button and eventually the newly seated certificate will show.
Note that we choose to use a trusted certificate authority over any of the freebies out there as the green lock says that our site has been domain ownership verified.