Openssl Unknown Protocol Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
Curl Unknown Ssl Protocol Error In Connection 443
the workings and policies of this site About Us Learn more about error:140770fc:ssl routines:ssl23_get_server_hello:unknown protocol Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow
Curl Error:140770fc:ssl Routines:ssl23_get_server_hello:unknown Protocol
Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each unknown ssl protocol error in connection curl php other. Join them; it only takes a minute: Sign up Unable to establish SSL connection, how do I fix my SSL cert? up vote 41 down vote favorite 10 I'm trying to wget to my own box, and it can't be an internal address in the wget (so says another developer). When I wget, I get this: wget http://example.com unknown ssl protocol error in connection git --2013-03-01 15:03:30-- http://example.com/ Resolving example.com... 172.20.0.224 Connecting to example.com|172.20.0.224|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://www.example.com/ [following] --2013-03-01 15:03:30-- https://www.example.com/ Resolving www.example.com... 172.20.0.224 Connecting to www.example.com|172.20.0.224|:443... connected. OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol Unable to establish SSL connection. I believe it is because I do not have the certificate setup properly. Using openssl: openssl s_client -connect example.com:443 CONNECTED(00000003) 15586:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:588: While if I do the same command on another site, it shows the entire cert. Perhaps the ssl cert was never setup in the conf file on Apache for that domain? If so, what should I be specifying in the virtualhost? Is there any alternative other than specifying --no-certificate-check because I don't want to do that? apache ssl openssl wget share|improve this question edited Apr 14 '15 at 19:22 jww 35.7k21112225 asked Mar 1 '13 at 21:11 meder omuraliev 109k42293377 1 Enable SSL/TLS on the port at the server. The error usually means HTML (served over HTTP) is being interpreted as a SSL Record (as if it was served over
Sign in Pricing Blog Support Search GitHub This repository Watch 161 Star 918 Fork 501 paypal/PayPal-PHP-SDK Code Issues 25 Pull requests
Openssl Was Built Without Sslv2 Support
1 Projects 0 Wiki Pulse Graphs New issue Unknown SSL protocol ssl23_get_server_hello:unsupported protocol error in connection to tlstest.paypal.com:443 after installing version "1.6.4" PHP SDK #484 Open kesongxie opened this Issue Jan
Curl: (35) Unknown Ssl Protocol Error In Connection To Localhost
25, 2016 · 23 comments Projects None yet Labels question Milestone No milestone Assignees No one assigned 10 participants kesongxie commented Jan 25, 2016 I'm http://stackoverflow.com/questions/15166950/unable-to-establish-ssl-connection-how-do-i-fix-my-ssl-cert testing using sandbox at localhost I was testing my TSL at index.php, using the information provided at https://github.com/paypal/TLS-update $ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://tlstest.paypal.com/");
var_dump(curl_exec($ch));
var_dump(curl_error($ch));
?> I got bool(false) string(67) "Unknown SSL protocol error in connection to tlstest.paypal.com:443 " when I run $ curl --version I got curl 7.30.0 (x86_64-apple-darwin13.0) libcurl/7.30.0 SecureTransport zlib/1.2.5
https://github.com/paypal/PayPal-PHP-SDK/issues/484 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz when I did var_dump(curl_version()); i have array(9) { ["version_number"]=> int(469248) ["age"]=> int(3) ["features"]=> int(558621) ["ssl_version_number"]=> int(0) ["version"]=> string(6) "7.41.0" ["host"]=> string(25) "x86_64-apple-darwin10.8.0" ["ssl_version"]=> string(14) "OpenSSL/0.9.8z" ["libz_version"]=> string(5) "1.2.8" ["protocols"]=> array(20) { [0]=> string(4) "dict" [1]=> string(4) "file" [2]=> string(3) "ftp" [3]=> string(4) "ftps" [4]=> string(6) "gopher" [5]=> string(4) "http" [6]=> string(5) "https" [7]=> string(4) "imap" [8]=> string(5) "imaps" [9]=> string(4) "ldap" [10]=> string(5) "ldaps" [11]=> string(4) "pop3" [12]=> string(5) "pop3s" [13]=> string(4) "rtsp" [14]=> string(3) "smb" [15]=> string(4) "smbs" [16]=> string(4) "smtp" [17]=> string(5) "smtps" [18]=> string(6) "telnet" [19]=> string(4) "tftp" } } Any insight will be appreciated Caffe1neAdd1ct commented Jan 25, 2016 When running from CLI make sure to include the following CURL OPT: curl_setopt($ch, CURLOPT_SSLVERSION, 6); it was included in the 1.6.4 SDK so will be required when testing from CLI: php -r '$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://tlstest.paypal
Contributed Modules » mod_tls » SSL23_GET_CLIENT_HELLO:unknown protocol « previous next » Print Pages: [1] Author Topic: SSL23_GET_CLIENT_HELLO:unknown protocol (Read 3565 https://forums.proftpd.org/smf/index.php?topic=11889.0 times) openbridge Regular User Posts: 45 SSL23_GET_CLIENT_HELLO:unknown protocol « on: January 15, 2016, 03:26:59 pm » We are seeing the following in the TLS logs. I was not familiar with this so I tossing it out to the community for any suggestions2016-01-15 07:32:37,275 mod_tls/2.7[5072]: TLS/TLS-C requested, starting TLS handshake2016-01-15 07:32:37,303 mod_tls/2.7[5072]: unable to accept TLS protocol error connection: protocol error: (1) error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol2016-01-15 07:32:37,303 mod_tls/2.7[5072]: TLS/TLS-C negotiation failed on control channel2016-01-15 07:32:39,558 mod_tls/2.7[5077]: TLS/TLS-C requested, starting TLS handshake2016-01-15 07:32:39,589 mod_tls/2.7[5077]: unable to accept TLS connection: protocol error: (1) error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol2016-01-15 07:32:39,589 mod_tls/2.7[5077]: TLS/TLS-C negotiation failed on control channel2016-01-15 07:32:42,509 mod_tls/2.7[5078]: TLS/TLS-C requested, starting TLS handshake2016-01-15 07:32:42,538 mod_tls/2.7[5078]: unable to accept TLS unknown ssl protocol connection: protocol error: (1) error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol2016-01-15 07:32:42,538 mod_tls/2.7[5078]: TLS/TLS-C negotiation failed on control channel2016-01-15 07:32:44,781 mod_tls/2.7[5088]: TLS/TLS-C requested, starting TLS handshake2016-01-15 07:32:44,811 mod_tls/2.7[5088]: unable to accept TLS connection: protocol error: (1) error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol Logged castaglia Administrator Support Hero Posts: 5117 Re: SSL23_GET_CLIENT_HELLO:unknown protocol « Reply #1 on: January 15, 2016, 04:37:03 pm » This error happens when the TLS handshake uses a format that OpenSSL doesn't expect. Do you happen to know which FTPS clients are in use, causing those messages? Knowing more about the client in question can help to pinpoint the cause...For example, I can recreate the above errors by using the following command-line to simulate an FTPS client which tries to use SSLv2 when talking to proftpd+mod_tls:Code: [Select] $ openssl s_client -connect
Since SSLv2 is automatically disabled for mod_tls, this would result in the "unknown protocol" error.Interestingly, if I tell mod_tls to use *just* TLSv1.2 (using "TLSProtocol TLSv1.2"), and use OpenSSL to connect with SSLv3 or TL