From http://www.larryullman.com/2012/11/14/getting-an-ssl-certificatesetting-up-https/