curl-library
guide me for ssl error from CURL 7.18.1 on AIX 5.3
Date: Thu, 24 Apr 2008 23:38:37 +0530
Hi
I have compiled and installed CURL Library for AIX (Version 5.3) a 64 bit OS.
The Details of installed curl is
curl 7.18.1 (powerpc-ibm-aix5.3.0.0) libcurl/7.18.1 OpenSSL/0.9.8d
Protocols: tftp ftp telnet dict http file https ftps
Features: IPv6 Largefile NTLM SSL .
I am trying for https (SSL) connection to server through libcurl and command line curl.
My server (IBMWebSphere) is running on same machine.
I am getting error related to authentiticity of server's certificates.
To overcome this error i used "-k/--insecure" with command line curl.
I succeeded in making HTTPS connection to server.
Now i am trying to make HTTPS connection through libcurl (embeded in my project code).
But i am not able to do so. To achieve the insecure connection i have set following in my code.
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, -1);
Still i am not able to get HTTPS connection.
I am getting the following error with error code 35 (CURLE_SSL_CONNECT_ERROR)
INFO : SSL_Callback:CURL INFO [About to con nect() to new port 9443 (#0)
INFO : SSL_Callback:CURL INFO [ Trying 0.0 .0.0... ]
INFO : SSL_Callback:CURL INFO [connected]
INFO : SSL_Callback:CURL INFO [Connected to new (0.0.0.0) port 9443 (#0)
INFO : SSL_Callback:CURL INFO [SSL: couldn' t set callback!]
INFO : SSL_Callback:CURL INFO [Unknown SSL protocol error in connection to new:9443]
INFO : SSL_Callback:CURL INFO [Closing conn ection #0]
INFO : SSL_Callback:CURL INFO [SSL connect error]
INFO : USSDADPTR_SendXML_HTTPReq:cURL execution code[35]
INFO : USSDADPTR_SendXML_HTTPReq:cURL execution failure
Plz guide me in resolving my error.
regards
Anil
________________________________
This e-mail and all material transmitted with it are for the use of the intended recipient(s) ONLY and contains confidential and/or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken pursuant to the contents of the present e-mail is strictly prohibited and is unlawful.
The recipient acknowledges that Bharti Telesoft Limited or its management or directors, are unable to exercise control or ensure the integrity over /of the contents of the information contained in e-mail. Any views expressed herein are those of the individual sender only and no binding nature of the contents shall be implied or assumed unless the sender does so expressly with due authority of Bharti Telesoft Limited. E-mail and any contents transmitted with it are prone to viruses and related defects despite all efforts to avoid such by Bharti Telesoft Limited.
Received on 2008-04-24