cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Certificate subject does not match target host name

From: DOMINICK C MEGLIO <dcm5151_at_esu.edu>
Date: Wed, 17 Dec 2003 16:36:29 -0500

Sounds like curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 1); is what you
want. If it still doesn't work, try changing the 1 to a 0. This however
isn't really a good solution. If you don't verify the host is correct, then
there is no way to verify that you are talking to the machine you believe
you are.

Dominick Meglio

-----Original Message-----
From: Mike S
To: curl-library_at_lists.sourceforge.net
Sent: 12/17/03 3:51 PM
Subject: Certificate subject does not match target host name

How can I solve the problem without turn off the SSL ?

Even this line in the code, doesn't help.
curl.ssl_verifypeer = false

Error:"
in `perform': SSL: certificate subject name 'orderupdate server' does
not
match target host name 'orderupdate.abebooks.com' (RuntimeError)"

Thanks

_________________________________________________________________
Grab our best dial-up Internet access offer: 6 months @$9.95/month.
http://join.msn.com/?page=dept/dialup

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for
IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys
admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-17