A Miserable Failure

I’m experiencing a rather annoying technical problem, which is holding up the YAK release — and consequently the release of the YAK Handbook.

Google Checkout integration requires https, but when testing I’m currently getting the dreaded error:

Protocol https not supported or disabled in libcurl

This despite the fact that curl -V gives:

curl 7.18.2 (i386-apple-darwin9.4.0) libcurl/7.18.2 OpenSSL/0.9.8h zlib/1.2.3
Protocols: tftp ftp telnet dict http file https ftps
Features: Largefile NTLM SSL libz

And port installed gives the following output (excerpted):

curl @7.18.2_0+ssl (active)
curl-ca-bundle @7.18.2_0 (active)
lighttpd @1.4.19_0 (active)
mysql5 @5.0.51a_0+server (active)
php5 @5.2.6_1+fastcgi+macosx+mysql5 (active)

I’m obviously missing something, but no idea what. Hoping that any Mac gurus who happen to come across this might have a suggestion or two…?

RSS feed | Trackback URI

8 Comments »

Comment by Mitch
2008-07-21 03:13:39

Does this help?

http://curl.haxx.se/docs/faq.html#curl_1_SSL_is_disabled_https

3.1 curl: (1) SSL is disabled, https: not supported

If you get this output when trying to get anything from a https:// server,
it means that the configure script couldn’t find all libs and include files
it requires for SSL to work. If the configure script fails to find them,
curl is simply built without SSL support.

To get the https:// support into a curl that was previously built but that
reports that https:// is not supported, you should dig through the document
and logs and check out why the configure script doesn’t find the SSL libs
and/or include files.

Also, check out the other paragraph in this FAQ labeled “configure doesn’t
find OpenSSL even when it is installed”.

Comment by jrbriggs
2008-07-21 06:58:08

Unfortunately already found that reference. Curl has ssl enabled, but for some reason the version used by PHP wasn’t showing ssl support.

 
 
Comment by Mitch
2008-07-21 03:30:15

Also see http://code.google.com/apis/checkout/samples/Google_Checkout_Sample_Code_PHP.html


Note: This DOM XML library runs on PHP 4, but not on PHP 5. So, to run this sample code, you must be running a PHP version of 4.2.3 or later but not PHP 5 or greater. We do not yet have sample code for PHP 5 using a DOM library.

Comment by jrbriggs
2008-07-21 06:58:59

Thanks for your help. I missed that reference.

 
 
Comment by rahul benegal
2008-07-23 17:43:23

Similar problem when I changed path (putting /opt/local/bin in front). My program used to work earlier using /usr/bin/curl.
I reinstalled the mac port curl but still got the same error. No error in install (used -d) option.

So i finally deactivated port curl so the original /usr/bin/curl is used. Now the program works as before.

While going through the debug statements found this:

./configure --prefix=/opt/local --disable-ipv6 --without-libidn --without-libssh2 --without-ssl --disable-ldap --with-zlib=/opt/local'
So the installer could not find ssl, although nowhere does it give such an error

 
Comment by rahul benegal
2008-07-23 17:58:56

Check http://www.nabble.com/-15048:-curl-%2Bssl-doesn‘t-install-curl-ca-bundle.crt-since-7.18-td16759394.html
There is an issue since 7.18. Fix provided on given url.

Comment by jrbriggs
2008-07-24 09:37:06

Thanks for this.

 
 
Comment by TheDude
2008-08-28 09:44:51

Just wanted to say thanks to you (and various contributers) for all the hard work put in on this project.

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post