I'm using phabricator behind cloudflare with https enabled.
When using conduit with php I'm not able to establish a connection due to an ssl issue:
PHP Fatal error: Uncaught exception 'HTTPFutureCURLResponseStatus' with message '[cURL/35] (https://bugs.dev-core.org/api/phriction.info) <CURLE_SSL_CONNECT_ERROR> There was an error negotiating the SSL connection.
Using cURL directly:
curl -v https://bugs.dev-core.org ... * NSS error -12286 * Closing connection #0 * SSL connect error curl: (35) SSL connect error
The problem can be resolved when defining the cipher used by cloudflare ssl:
curl --ciphers ecdhe_ecdsa_aes_256_sha https://bugs.dev-core.org [Output of the site]
My suggestion would be to add an additional constant which allows a custom cipher to be used.
I already added it in my installation to the HTTPSFutureclass but didn't had time yet to submit a patch.
For the tests I used cURL 7.19.7:
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz