Skip to content

Instantly share code, notes, and snippets.

@littlebenlittle
Created October 29, 2019 15:50
Show Gist options
  • Save littlebenlittle/ea27d951bfa2d2f813dc3ae10fa371cc to your computer and use it in GitHub Desktop.
Save littlebenlittle/ea27d951bfa2d2f813dc3ae10fa371cc to your computer and use it in GitHub Desktop.
openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 \
-subj "/C=US/ST=TEST/O=TEST/O=TEST/CN=localhost" \
-passout pass:abc123 \
-out $PWD/server.crt \
-keyout $PWD/server.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment