2014 September

How to test and patch your server for the Shellshock exploit

To test your system to see if it is vulnerable to the ShellShock exploit, run the following command from the command line: env check=’Not vulnerable’ x='() { :;}; check=Vulnerable’ bash -c ‘echo $check’ If the reply from the command says “Vulnerable”, you should patch it immediately! The fix is actually quite simple and only takes… read more »

How to create a CSR (Certificate Signing Request) in Linux using OpenSSL

Before you can purchase or create your own self signed SSL certificate, you must first create a CSR (Certificate Signing Request) and a Private Key. These two files much be created simultaneously or the resulting SSL certificate will not work. As root, run the following command: openssl req -nodes -newkey rsa:2048 -keyout sub.domain.com.key -out sub.domain.com.csr… read more »

Sidebar