Skip to content

Instantly share code, notes, and snippets.

@Fastidious
Last active October 4, 2017 11:45
Show Gist options
  • Save Fastidious/a7b3c801b895f70bbbe3 to your computer and use it in GitHub Desktop.
Save Fastidious/a7b3c801b895f70bbbe3 to your computer and use it in GitHub Desktop.
[Creating SSL CRT] SSL CRT with proper security.

SSL CRT for proper security

To generate a Certificate Sign Request with SHA256 hashing algorithm and 4096 bits encryption key with openssl:

openssl genrsa -out example.com.key 4096
openssl req -new -sha256 -key example.com.key -out example.com.csr

Or all in one:

openssl req -nodes -newkey rsa:4096 -sha256 -keyout example.com.key -out example.com.csr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment