Change endpoint to use SSL