+ Start a Discussion

Problems with ssl support

I´m using os x 10.4 and mamp (www.mamp.info) server that includes

  • Apache Version: 2.0.55
  • MySQL Version: 5.0.19
  • PHP Version: 4.4.2 & 5.1.2
  • eAccelerator: 0.9.5 beta
  • Zend Optimizer: 2.6.0
  • phpMyAdmin 2.7.0-pl2
  • SQLite Version: 2.8.16
  • SQLiteManager Version: 1.1.3
  • Freetype Version: 2.1.9
  • t1lib Version: 5.1.0
  • curl Version: 7.14.0
  • jpeg Version: 6b
  • libpng Version: 1.2.5
  • gd Version: 2.0.28
but even when mamp people says that the apache is configured with the openssl library the helloWorld.php trhows this exption:

SSL support is not available in this build

mamp people says to enable openssl i should create a certificate but I´m not sure if it is the real reason for this error or how to create it.

curl, sockets and soap are also enabled in php

any ideas ?
I am having exact the same problem. Working on Mac OS X 10.4 with Apache/1.3.33 (Darwin) PHP/5.1.2 mod_ssl/2.8.24 OpenSSL/0.9.7i

Error message:

Fatal error: Uncaught SoapFault exception: [HTTP] SSL support is not available in this build Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'https://www.sal...', '', 1) #1 [internal function]: SoapClient->__call('login', Array) #2 SoapClient->login(Array) #3 {main} thrown

I got it to work on Windows though...

I hope someone can help me on this.

You need your PHP build (not apache) to have SSL turned on, the problem is not with accepting SSL requests from clients (that's the apache SSL), but with the SSL client for the HTTPS requests PHP is making to salesforce.com.
Tran ManTran Man
You know if OpenSSL is configured properly when you execute phpinfo(). The following is from running phpinfo on Windows but should apply to OSX also.  Make sure you have something similar to:

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8a 11 Oct 2005

Also, you might want to check out xampp, too, if you haven't already.

Message Edited by Tran Man on 04-25-2006 02:11 PM

[bray-mac] php-5.1.2 %  ./configure --with-pgsql --enable-soap --with-openssl ; make clean ; make ; sudo make install
I have turn around this problem with XAMP


The SSL is built in.

the PHPToolkit 11.1 work fine on mac os x 10.4.11