Enabling SSL (and handling self-signed certs)