Common OpenSSL Commands

These are some common OpenSSL commands. Generating Keys/Certs Generate new CSR and private key: openssl req -out csr.csr -new -sha256 -newkey rsa:4096 -nodes -keyout key.key Generate CSR for an existing key: openssl req -out csr.csr -key key.key -new -sha256 Generate self signed cert and key: openssl req -x509 -sha256 -nodes […]

Read more

SSHFP records

I hate getting this prompt: root@home:~# ssh server.somehost.com The authenticity of host ‘server.somehost.com (123.123.123.123)’ can’t be established. RSA key fingerprint is e6:fa:89:4d:c4:03:8e:09:1b:e5:b1:3c:ec:5f:8e:a3. Are you sure you want to continue connecting (yes/no)? If you see it often enough you probably ignore it – it then loses its purpose if you find […]

Read more