{"id":255,"date":"2016-11-03T15:55:43","date_gmt":"2016-11-03T07:55:43","guid":{"rendered":"http:\/\/www.shenmdyw.com\/?p=255"},"modified":"2016-11-04T13:59:44","modified_gmt":"2016-11-04T05:59:44","slug":"unknown-ssl-protocol-error","status":"publish","type":"post","link":"http:\/\/www.shenmdyw.com\/index.php\/2016\/11\/03\/unknown-ssl-protocol-error\/","title":{"rendered":"Unknown SSL protocol error in connection to"},"content":{"rendered":"<p>php 5.4 \u51fa\u9519<\/p>\n<p>\u9519\u8beferror:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">Unable to connect to SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure<\/pre>\n<p>\u89e3\u51b3\u65b9\u6cd5,\u52a0\u5165\u4ee5\u4e0b\u4ee3\u7801 :<!--more--><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">$arrayCiphers = array(\r\n                'DHE-RSA-AES256-SHA',\r\n        'DHE-DSS-AES256-SHA',\r\n        'AES256-SHA:KRB5-DES-CBC3-MD5',\r\n        'KRB5-DES-CBC3-SHA',\r\n        'EDH-RSA-DES-CBC3-SHA',\r\n        'EDH-DSS-DES-CBC3-SHA',\r\n        'DES-CBC3-SHA:DES-CBC3-MD5',\r\n        'DHE-RSA-AES128-SHA',\r\n        'DHE-DSS-AES128-SHA',\r\n        'AES128-SHA:RC2-CBC-MD5',\r\n        'KRB5-RC4-MD5:KRB5-RC4-SHA',\r\n        'RC4-SHA:RC4-MD5:RC4-MD5',\r\n        'KRB5-DES-CBC-MD5',\r\n        'KRB5-DES-CBC-SHA',\r\n        'EDH-RSA-DES-CBC-SHA',\r\n        'EDH-DSS-DES-CBC-SHA:DES-CBC-SHA',\r\n        'DES-CBC-MD5:EXP-KRB5-RC2-CBC-MD5',\r\n        'EXP-KRB5-DES-CBC-MD5',\r\n        'EXP-KRB5-RC2-CBC-SHA',\r\n        'EXP-KRB5-DES-CBC-SHA',\r\n        'EXP-EDH-RSA-DES-CBC-SHA',\r\n        'EXP-EDH-DSS-DES-CBC-SHA',\r\n        'EXP-DES-CBC-SHA',\r\n        'EXP-RC2-CBC-MD5',\r\n        'EXP-RC2-CBC-MD5',\r\n        'EXP-KRB5-RC4-MD5',\r\n        'EXP-KRB5-RC4-SHA',\r\n        'EXP-RC4-MD5:EXP-RC4-MD5'\r\n);\r\n\r\ncurl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, implode(':', $arrayCiphers));\r\n<\/pre>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904<\/p>\n","protected":false},"excerpt":{"rendered":"<p>php 5.4 \u51fa\u9519 \u9519\u8beferror:14077410:SSL routines:SSL23_GET_SERV [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[121,119,120],"class_list":["post-255","post","type-post","status-publish","format-standard","hentry","category-php","tag-php-5-4","tag-ssl","tag-ssl23_get_server_hello","clear"],"_links":{"self":[{"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/posts\/255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/comments?post=255"}],"version-history":[{"count":4,"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":269,"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/posts\/255\/revisions\/269"}],"wp:attachment":[{"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/media?parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/categories?post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.shenmdyw.com\/index.php\/wp-json\/wp\/v2\/tags?post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}