본문 바로가기

Native/C

curl without cert (for https)

curl compile option

[code]
--without-ca-bundle
[/code]

curl code :

[code]
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); // skip peer verification
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); // skip hostname verfication
[/code]

'Native > C' 카테고리의 다른 글

daemon  (0) 2013.10.02
socket server sample code  (0) 2013.10.02
blowfish with openssl  (0) 2013.10.02
Archived flash player versions  (0) 2013.10.02
how to flashplayer  (0) 2013.10.02