[kwlug-disc] Stronger SSH keys and SSL certificates
kb at 2bits.com
Sun Apr 20 13:12:19 EDT 2014
Needless to say that recent events and government actions warrants more
So, to that effect, what options should one use to have the SSH keys
How many bits? What options for ssh key gen should be used?
And for SSL certificates, what options do you use to make the certificates
as strong as they can be?
For example, I use the following script for self signed certificates. How
can this be improved?
# Generate a key
openssl genpkey -algorithm rsa -out $KEY
# Generate a certificate signing request
openssl req -new -sha1 -nodes -key $KEY -out $REQ
# Create a self signed certificate
openssl x509 -req -days 365 -in $REQ -signkey $KEY -out $CRT
# Copy it to the server
cp $CRT /etc/ssl/certs
cp $KEY /etc/ssl/private
Khalid M. Baheyeldin
Fast Reliable Drupal
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra
Simplicity is the ultimate sophistication. -- Leonardo da Vinci
For every complex problem, there is an answer that is clear, simple, and
wrong." -- H.L. Mencken
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kwlug-disc