SSL
From charlesreid1
other attack types mentioned here: http://wiki.securityweekly.com/wiki/index.php/Episode319
certificate error messages when using .pem files from a CA: http://stackoverflow.com/questions/9380403/what-does-ssl-ctx-use-privatekey-file-problems-getting-password-error-indica
Setting up certificates (correctly): https://serverfault.com/a/720237