Skip to content

Instantly share code, notes, and snippets.

@zackschuster
Last active December 17, 2021 10:42
Show Gist options
  • Save zackschuster/a5edf655b6020352277c9f6e5d1b440f to your computer and use it in GitHub Desktop.
Save zackschuster/a5edf655b6020352277c9f6e5d1b440f to your computer and use it in GitHub Desktop.
use openssl to convert a letsencrypt ssl certificate to an azure-compatible pfx file
#!/usr/bin/env sh
openssl pkcs12 -export -out $NAME.pfx -inkey private.key.pem -in domain.cert.pem -certfile intermediate.cert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment