turns on ssl in production