Downloading of file is not happening in Curl with given url
you should do like this:https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html
open the ssl verify peer by curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 1L);
then call easy_perform should works.