Skip to content

Instantly share code, notes, and snippets.

@Jalalx
Created September 7, 2016 09:47
Show Gist options
  • Save Jalalx/b871c34916889623d7c5e9cd58df2564 to your computer and use it in GitHub Desktop.
Save Jalalx/b871c34916889623d7c5e9cd58df2564 to your computer and use it in GitHub Desktop.
Batch script to generate Open SSL self signed certificate
# Batch script to generate Open SSL self signed certificate
openssl req -new -x509 -nodes -newkey rsa:1024 -keyout webhook_pkey.key -out webhook_cert.pem -days 3650
openssl pkcs12 -export -out newfile.pfx -inkey privcert.key -in pubcert.pem -certfile CARoots.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment