Just by quickly looking at it (I'll look at it later tonight when I get home) but, Update OpenSSL. It seems that you're using an older version which is vulnerable to heartbleed. Please refer to
https://filippo.io/Heartbleed/#cointoli.com for more information. You should be able to just run a basic apt-get update in ssh to fix this issue.