Curl error: Peer certificate cannot be authenticated with known CA certificates