cURL / Mailing Lists / curl-library / Single Mail

curl-library

Difference between CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER?

From: Dr. Roger Cuypers <roger.cuypers_at_technisat.de>
Date: Tue, 7 Jul 2015 14:12:02 +0000

Greetings,

can someone explain me what the difference between CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER is in the context of a client program? For a client, the host and the peer are both the server.

The only difference I can make out at first glance is that verifypeer may cause the connection to fail while verifyhost is tested later.

Regards

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-07