Quantcast
Channel: Linux Server | cPanel | WebHosting
Viewing all articles
Browse latest Browse all 16

Generate a Self-Signed Certificate/CSR with SHA-256 instead of SHA1

$
0
0

The transition from SHA-1 to SHA-2 is coming soon. On November 7th, 2014, Google Chrome will stop displaying the security indicators such as the green padlock and/or green address bar for any certificates using the now outdated SHA-1 algorithm. 

To manually generate a CSR or Self-Signed SSL certificate follow these steps:

1. Generate a 4096 bit private key:

#openssl genrsa -out newkey.key 4096

2. Generate the csr file using the private key.

#openssl req -new -x509 -sha256 -key newkey.key -out new.csr -days 1095

That’s it! :) Hope this helps!

 


Viewing all articles
Browse latest Browse all 16

Trending Articles