How to update OpenSSL on Ubuntu Server

With the recent revelation that OpenSSL has a serious security vulnerability called the “heartbleed bug”, it is critical that you update your servers to include the latest patch to fix it. You can read more about this bug, and the effect is can have on your machines here: http://heartbleed.com/

So how do I update?

It is quite simple to apply the update to your machines. Firstly, as with any update, open up a terminal window and do:

sudo apt-get update

and…

sudo apt-get upgrade

This will download all of the available updates to your packages. The fix for the heartbleed bug IS included within the ubuntu repositories already. Once installed, you can verify that you have the correct version by running:

dpkg -l | grep openssl

If you see the following version output, patch for CVE-2014-0160 should be included:

ii openssl 1.0.1-4ubuntu5.12 Secure Socket Layer (SSL)...

You can check to see if your machine has been appropriately updated using this link: http://filippo.io/Heartbleed/

Here is a screenshot after testing my server:

http://filippo.io/Heartbleed/

Hope you found this useful!

Exporting WordPress Posts as PDF

So as part of my assignment for the Social Technologies module at University, we are required to hand in a hard copy of all the blog posts that we have made thus far. Whilst pondering my options for doing this, namely the first idea being a copy and paste session of each article, I began to think outside of the box.

As a programmer and tech geek, im always looking for a software alternative to problems. If there is something that requires a user to manually do a bunch of tasks, then there must be a way to automate the process and save everyone a great deal of time. So i did a little digging around on the internet and uncovered something that IS going to save me a bunch of time, and looks rather good as well! Introducing – “Print Friendly and PDF” (currently version 3.0.8). It’s like ronseal, ‘it does exactly what it says on the tin’! (for my international readers thinking “what the heck is ronseal?”: http://www.ronseal.co.uk/). The offical description for the plugin: “PrintFriendly & PDF optimizes your pages for print. Help your readers save paper and ink, plus enjoy your content in printed form”.

I’ve done some testing with this plugin already, and it seems to do exactly what I want it to do. I can now just go through my blog posts and print them out with just a click of a button or two (perhaps three).

As i don’t host my blog on wordpress.com I am unsure as to whether those users are able to install this and use it too, however for those that host their blogs externally… Have at it!