added trusting ssl certs in curl