cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Problem in creating SSL connection using libcurl

From: Vinay Jindal <vinay.jindal_at_aricent.com>
Date: Fri, 29 Jan 2010 13:18:17 +0530

Looks like I figured out the problem.

The problem was happening due to time difference on which the server and client were being run.
The error "* SSL certificate verify result: error number 1 (9), continuing anyway." signifies that
9 X509_V_ERR_CERT_NOT_YET_VALID: certificate is not yet valid
the certificate is not yet valid: the notBefore date is after the current time.

The machine on which client was being run had a time in past (earlier than what was present as start time in generated server certificate).

I found out while validating my certificates using the verify command in openssl.

Thanks,
Vinay

________________________________
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-29