I have an issue with using root certificate, with curl CURLOPT_SSL_CTX_FUNCTION option. I tried one of the example program docs/examples/cacertinmem.c which is avilable along with the curl source download. This program is using CURLOPT_SSL_CTX_FUNCTION to set the hardcoded certificate before doing https transaction. But this program works only if I put the certificate bundle in the proper path.
I have installed curl-7.27.0 and it is working fine how ever it is not working is run below command to find whether it is now, but it showed that :
Result of the command curl -V
root@ubuntu:~/curl-7.27.0# curl -V
curl 7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp
I've just moved to a new apartment and with internet connection via a router and I'm finding that I can't connect to quite a few sites that use SSL.
For example trying to connect to PayPal:
curl -v https://paypal.com
* About to connect() to paypal.com port 443 (#0)
* Trying 66.211.169.3...
Hi,
I have compile php and curl on my server.
When i run phpinfo() on my on browser it does not show the curl is enable.
When i run from the command line it shows curl is enable.
Here is the command:
/opt/php -r "phpinfo();"
I have also created /usr/bin php as symlink
I have also compiled php --with-curl=[curl path] as static not as shared.
What I am missing?
Thanks in advance.
When I try to Curl a SSL page on my ubuntu 12.04 TLS server, it won't work:
not ssl page:
$ curl https://evernote.com/ -vv
[the entire webpage]
ssl page:
$ curl https://evernote.com/ -vv
* About to connect() to evernote.com port 443 (#0)
* Trying 204.154.94.73...
I'm trying to install the Amazon Web Services PHP SDK on my Ubuntu LAMP server. Whenever I run the compatibly check everything but cURL comes back okay. The issue I'm having is that it's reporting I don't have cURL with SSL. I uninstalled curl then installed curl-ssl with no avail.
I'm trying to install proxy software called Glype on my server. It continues to tell me that "Glype requires cURL/libcurl". I have the latest version of curl installed. Why might this be happening? Glype runs with PHP, and the curl binary is in /usr/bin and is rwxrwxrwx.
I'm trying to cross compile curl with enabled ssl option for ARM9 but somehow I can't get it enabled.
I cross compiled openssl before and then I tried to run ./configure with ssl option:
CPPFLAGS="-I/home/asphantix/Tools/owa33a/openssl/openssl-1.0.1c/include" LDFLAGS="-L/home/asphantix/Tools/owa33a/openssl/openssl-1.0.1c/ssl" ./configure --with-ssl --without-ca-bundle --target=arm-none-linux-gnu
cURL: Certificate validation error