Hi all,

My application is currently setting CURLOPT_SSL_VERIFYHOST to 2 in
order to enable cert identity verification. However, I saw that
passing the remote host's IP address to libcurl (as opposed to the
hostname) results on the identity verification failing. This is a bit
inconvenient, as sometimes I may want to use hostnames and IP
addresses interchangeably.

What's the best way to do this?
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to