Skip to content

Instantly share code, notes, and snippets.

@OlliV
Created April 3, 2020 06:42
Show Gist options
  • Save OlliV/801f3047c42662167f0005aff6595e33 to your computer and use it in GitHub Desktop.
Save OlliV/801f3047c42662167f0005aff6595e33 to your computer and use it in GitHub Desktop.
Use CloudFlare Origin certs with Azure App Services
  1. Create an origin certificate in CloudFlare

SSL/TLS -> Origin Server -> Create Certificate

  1. Convert the PEM cert to PFX
openssl pkcs12 -export -out domain.pfx -inkey domain.key -in domain.crt
  1. Import the cert to Azure App Services

On the Azure App Service page: TLS/SSL settings -> Private Key Certificates -> Upload Certificate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment