cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

cURL ERROR: 35: Unknown SSL protocol error in connection to some.server.com:443

From: ben root <benroot_at_gmail.com>
Date: Tue, 8 Apr 2008 16:14:07 -0700

I received this error in response to an HTTPS curl request made in from the
CLI PHP interpreter.

PHP version: PHP 5.1.4 (cli)
cURL Version: curl 7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3
OpenSSL/0.9.7l zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz
NuSoap Version: 0.7.3

The code works fine when it is run using the Apache php module (built with
the same configuration as the CLI). I need the command line version to
work, however.

Another thing to note is that a simple command line invocation of the curl
executable works correctly as well:

bash$ curl https://some.server.com/some/file.wsdl

Any advice for how to solve this problem and get my curl request working on
the command line is most appreciated!

-Ben

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-04-09