cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: SMTP+SSL fails with curl_multi_perform

From: Alona Rossen <arossen_at_opentext.com>
Date: Thu, 4 Nov 2010 10:36:17 -0400

On Thu, 4 Nov 2010, Alona Rossen wrote:

> In my case a certificate was not provided. This is an obvious
difference.

>>>What do you mean? Servers ALWAYS provide a certificate in SSL so if
you did
>>>not get one, there was something wrong already at that level.

> Do you have a signed certificate that can be accepted by gmail?

>>>I don't need any certificate for gmail, and as you can see in the
example code
>>>libcurl was used exactly like you did it: ignoring the server cert
checks.

> We use ssl 0.9.8. I was able to reproduce the issue on Windows and
Solaris.

>>>I have neither, but it works great on Linux...

>>>So, then I need to ask you to start debugging/printfing something
around the
>>>failure spot in the code so that we can start to narrow down what it
is that's
>>>happening!

Mine:

INFO_TEXT:
         SSL certificate verify result: unable to get local issuer
certificate (20), continuing anyway.

Yours:

> STARTTLS
* SMTP 0x9e57c44 state change from EHLO to STARTTLS < 220 2.0.0 Ready to
start TLS
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
   CApath: none
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-04