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 -x509 -nodes -days 3650 -newkey rsa:2048 -keyout… read more »

Sidebar