Improve HTTPS/SSL configuration, add own self-signed certs