Skip to content

Instantly share code, notes, and snippets.

@daryltucker
Created August 24, 2023 17:42
Show Gist options
  • Save daryltucker/aa5e45c6e5c6965dd0dfe4f77738e70c to your computer and use it in GitHub Desktop.
Save daryltucker/aa5e45c6e5c6965dd0dfe4f77738e70c to your computer and use it in GitHub Desktop.
Create PKCS12 from PEM (Certbot)
openssl pkcs12 -export -out example.net.p12 -inkey /etc/letsencrypt/live/example.net/privkey.pem -in /etc/letsencrypt/live/example.net/cert.pem -certfile /etc/letsencrypt/live/example.net/chain.pem -name example.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment