Skip to content

Instantly share code, notes, and snippets.

@c4l3b
c4l3b / Instructions.md
Last active September 25, 2025 14:11
Generate .pfx for Azure from Cloudflare Certificate

Cloudflare Client Cert → Azure PFX Script

This Bash script makes it easy to take your Cloudflare client certificate (public cert + private key) and generate a .pfx bundle for use with Azure Container Apps or other Azure services.

It will:

  • Prompt you to paste your public certificate
  • Prompt you to paste your private key
  • Optionally accept a chain/intermediate certificate
  • Output all of these PEMs plus the .pfx bundle in your current directory