Skip to content

Instantly share code, notes, and snippets.

@anoochit
Created November 5, 2022 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anoochit/ecaf340d7edf51fb4edb713604f666a1 to your computer and use it in GitHub Desktop.
Save anoochit/ecaf340d7edf51fb4edb713604f666a1 to your computer and use it in GitHub Desktop.
generate pfx certificate
openssl genrsa 2048 > filessl.key
chmod 400 filessl.key
openssl req -new -x509 -nodes -sha256 -days 365 -key filessl.key -out filessl.crt
openssl pkcs12 -export -out filessl.pfx -inkey filessl.key -in filessl.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment