cURL / Mailing Lists / curl-library / Single Mail

curl-library

FW: smtp + SSL application hangs in case CABundleFile non-existent

From: Alona Rossen <arossen_at_opentext.com>
Date: Thu, 4 Nov 2010 16:38:27 -0400

 

Application hangs in case a fully qualified name of the certificate file
is incorrect:

 

/export/home/sambuild/TESTS/MAIL/SMTPS> ./curlSMTP

* About to connect() to smtp.gmail.com port 587 (#0)

* Trying 74.125.95.109... * connected

* Connected to smtp.gmail.com (74.125.95.109) port 587 (#0)

< 220 mx.google.com ESMTP d21sm314559ibg.3

> EHLO geniosol9

< 250-mx.google.com at your service, [199.85.101.2]

< 250-SIZE 35651584

< 250-8BITMIME

< 250-STARTTLS

< 250-ENHANCEDSTATUSCODES

< 250 PIPELINING

> STARTTLS

< 220 2.0.0 Ready to start TLS

* error setting certificate verify locations:

  CAfile: /export__/home/sambuild/certs/cacert.pem

  CApath: none

 

> QUIT

 

 

Attached is the tests app.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This email is protected by domestic and international copyright laws and
treaties and is the property of Open Text Corporation, it may contain
confidential and/or trade secret information of the Open Text
Corporation and/or its subsidiaries (OTC), and may be subject to legal
privilege in favor of OTC. This email may only be lawfully received,
accessed, displayed on a computer screen, printed, copied, and/or used
by the specific addressee(s) named above ("Authorized Recipient") for
the purpose for which it was sent by OTC. All other rights and licenses
to this email are fully reserved to OTC. If you are not an Authorized
Recipient, you are required to immediately delete this email in its
entirety without printing, copying, using, and/or re-transmitting this
email, either in whole or in part. The transmission of this email by OTC
is not to be construed as a waiver by OTC and/or the individual sending
this email on behalf of OTC of any of their respective rights or
privileges at law or otherwise, howsoever arising.

 

 

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

Received on 2010-11-04