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…?



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”.
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.
Unfortunately already found that reference. Curl has ssl enabled, but for some reason the version used by PHP wasn’t showing ssl support.
Thanks for your help. I missed that reference.
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
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.
Thanks for this.
Just wanted to say thanks to you (and various contributers) for all the hard work put in on this project.
[...] with PHP, suexec and FastCGI (mod fcgid) (en) First saved by wangingproductions | 3 days ago A Miserable Failure First saved by zacefronfan15 | 12 days ago LEMP First saved by bemike | 12 days ago PHP [...]
[...] recorded first by mariahstarr23 on 2009-04-03→ Jason R Briggs: A Miserable Failure [...]
Just FYI,
I force uninstalled curl:
> port -f uninstall curl
and then re-installed it with SSL support:
> port install curl +ssl
Solved the problem for me.
Thanks Ted.
Ted Wood’s suggestion worked for me as well.
“I force uninstalled curl:
> port -f uninstall curl
and then re-installed it with SSL support:
> port install curl +ssl”