Switching to HTTPS configuration.