Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Disable curl CURLOPT_SSL_VERIFYHOST from command line

From: Daniel Stenberg <>
Date: Wed, 21 Jul 2010 20:20:09 +0200 (CEST)

On Wed, 21 Jul 2010, Christopher A Hotchkiss wrote:

> Is it possible to disable CURLOPT_SSL_VERIFYHOST on the command line but
> keep CURLOPT_SSL_VERIFYPEER enabled (ie not use -k)? I am using curl to
> connect to a server that will not have a consistent hostname, but it will
> always have a good certificate since we are running our own certificate
> authority.

Nope, curl only features the -k option and that disables both host name checks
and the cert check.

If you desire fancier checks, consider using a libcurl binding.

List admin:
Received on 2010-07-21

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET