Internal / Azure

Install Let's Encrypt Certificates in Azure

Last updated on 11-Sep-2017 by Jakob Jakobsen Boysen
Jakob Jakobsen Boysen

Platform Lead
boysen@scifeon.com
  1. Go to https://www.sslforfree.com/certificates
  2. Renew certificate
  3. Update DNS TXT records for specific domains
  4. Download zip with private.key, certificate.crt and ca_bundle.crt
  5. Unzip into c:\ssl
  6. Open "Bash on Ubuntu on Windows"
    1. cd /mnt/c/ssl
    2. openssl pkcs12 -export -out "certificate_combined.pfx" -inkey "private.key" -in "certificate.crt" -certfile ca_bundle.crt
    3. Use Export Password from KeePass/SSL (paste by right-clicking)
  7. Go to Azure and choose the Web App: https://portal.azure.com/#blade/HubsExtension/Resources/resourceType/Microsoft.Web%2Fsites
  8. Choose SSL Certificates, click Upload Certificate and choose "c:\git\ssl\certificate_combined.pfx" and enter password from before
  9. Restart App Service