Skip to content

Instantly share code, notes, and snippets.

@x684867
Created October 6, 2013 20:32
Show Gist options
  • Select an option

  • Save x684867/6858740 to your computer and use it in GitHub Desktop.

Select an option

Save x684867/6858740 to your computer and use it in GitHub Desktop.
Generating password-less self-signed certificates with no user input.
openssl req \
-new \
-newkey rsa:4096 \
-days 365 \
-nodes \
-x509 \
-subj "/C=US/ST=Texas/L=Round Rock/O=Dis/CN=$FQDN" \
-keyout $PRIVATE_KEY \
-out $CRT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment