From:             brian dot bream at comcast dot net
Operating system: Solaris 10 08/07 x86 
PHP version:      5.2.6
PHP Bug Type:     cURL related
Bug description:  https cURL failure

Description:
------------
Attempts to use cURL to an https site fails from within php, functions
properly from the command line. cURL to an http site works in both
locations.

'./configure' '--with-apxs2=/usr/apache2/bin/apxs' '--enable-dbase'
'--with-libxml-dir=/usr/local' '--with-config-file-path=/etc/apache2'
'--with-mysql=shared,/opt/csw/mysql5'
'--with-mysqli=shared,/opt/csw/mysql5/bin/mysql_config'
'--with-xpm-dir=/usr' '--with-gd' '--with-bz2=/usr/lib'
'--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib'
'--enable-mbstring' '--enable-calendar' '--enable-bcmath' '--enable-ftp'
'--enable-exif' '--with-openssl=shared,/usr/sfw'
'--with-curl=/usr/local/bin/' '--with-pdo-mysql=shared,/opt/csw/mysql5/'

phpinfo at http://preferredsystems.com/phpinfo.php



Expected result:
----------------
A successful https connection to any site.

Actual result:
--------------
A curl test to an https site returns: Errors: 35
error:80089077:lib(128):func(137):reason(119)

This test was run at http://preferredsystems.com/curl_test.php making a
call to https:secure.authorize.net

>From the command line it works properly

bash-3.00# curl -v https://secure.authorize.net
* About to connect() to secure.authorize.net port 443 (#0)
*   Trying 64.94.118.32... connected
* Connected to secure.authorize.net (64.94.118.32) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: /var/tmp/cacert.pem
  CApath: none
* SSLv2, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
.....

-- 
Edit bug report at http://bugs.php.net/?id=46644&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=46644&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=46644&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=46644&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=46644&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=46644&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=46644&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=46644&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=46644&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=46644&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=46644&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=46644&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=46644&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=46644&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=46644&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=46644&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=46644&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=46644&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=46644&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=46644&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=46644&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=46644&r=mysqlcfg

Reply via email to