{"id":210,"date":"2022-11-04T14:47:44","date_gmt":"2022-11-04T06:47:44","guid":{"rendered":"https:\/\/lovelyping.com\/?p=210"},"modified":"2022-11-12T21:44:44","modified_gmt":"2022-11-12T13:44:44","slug":"ios-16-%e5%bc%82%e5%b8%b8%e9%99%8d%e7%ba%a7%e5%88%b0-tls1-0-%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/lovelyping.com\/?p=210","title":{"rendered":"IOS 16 \u5f02\u5e38\u964d\u7ea7\u5230 tls1.0 \u7684\u95ee\u9898"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u6700\u8fd1\u78b0\u5230\u4e2a\u5ba2\u6237\u95ee\u9898\uff0c\u5fae\u4fe1\u516c\u4f17\u53f7\u91cc\u6709\u4e2a\u670d\u52a1\u94fe\u63a5\uff0c\u5728 IOS \u4e0b\u5076\u53d1\u5931\u8d25\uff0c\u62a5\u9519 -1200\uff0c\u7ecf\u8fc7\u6392\u67e5\u53d1\u73b0\u662f IOS 16 \u5728\u7279\u5b9a\u60c5\u51b5\u4e0b\u53ef\u80fd\u4f1a\u51fa\u73b0\u53d1\u8d77\u7684 https \u8bf7\u6c42\u964d\u7ea7\u4e3a\u4e86 tls1.0 \u5bfc\u81f4\u7684\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6392\u67e5\u8fc7\u7a0b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u7b80\u5355\u53d1\u51e0\u6761\u6392\u67e5\u7684\u53d1\u73b0\u548c\u622a\u56fe\uff0c\u6000\u7591\u662f IOS 16 \u7684\u7f51\u7edc\u8bf7\u6c42\u6709\u4ec0\u4e48 bug \u5bfc\u81f4\u975e\u6b63\u5e38\u7684\u964d\u7ea7\u5230\u4e86 tls1.0\uff0c\u800c tls1.0 \u5ba3\u79f0\u5728 IOS 15 \u540e\u5df2\u7ecf\u4e0d\u518d\u652f\u6301\uff0c\u5982\u679c\u6709 IOS \u5ba2\u6237\u7aef\u540c\u5b66\u53ef\u4ee5\u770b\u770b\u5177\u4f53\u662f\u4ec0\u4e48\u539f\u56e0\u5bfc\u81f4\u7684<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u53ea\u6709 IOS \u51fa\u73b0\uff0c\u76ee\u524d\u53d1\u73b0\u7684 case \u90fd\u4e3a IOS 16\uff0c\u5305\u62ec 16.0 \u548c 16.1 \uff1b9 \u6708\u5e95\u4e4b\u540e\u5f00\u59cb\u51fa\u73b0\uff1b\u5fae\u4fe1\u3001chrome\u3001safari\u3001qq\u6d4f\u89c8\u5668\u7b49\u90fd\u53ef\u4ee5\u590d\u73b0\u3002<\/li><li>\u670d\u52a1\u7aef\u5728\u9999\u6e2f\uff0c\u5f00\u542f UDP \u7684 443 \u7aef\u53e3\uff0c\u4f46\u662f\u8be5\u4e1a\u52a1\u57df\u540d\u5e76\u672a\u914d\u7f6e\u5f00\u542f HTTP3(QUIC)\uff0c\u8bf7\u6c42\u5982\u4e0b\u6240\u793a<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"227\" src=\"https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/h3-handshark-1024x227.png\" alt=\"\" class=\"wp-image-212\" srcset=\"https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/h3-handshark-1024x227.png 1024w, https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/h3-handshark-300x66.png 300w, https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/h3-handshark-768x170.png 768w, https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/h3-handshark.png 1932w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --http3 -vvv https:\/\/xxxx.cn\/\n*   Trying x.x.x.x:443...\n* Connect socket 5 over QUIC to x.x.x.x:443\n*  CAfile: \/etc\/pki\/tls\/certs\/ca-bundle.crt\n*  CApath: none\n*  subjectAltName does not match xxxx.cn\n* SSL: no alternative certificate subject name matches target host name 'xxxx.cn'\n* connect to x.x.x.x port 443 failed: SSL peer certificate or SSH remote key was not OK\n* Failed to connect to xxxx.cn port 443 after 102 ms: SSL peer certificate or SSH remote key was not OK\n* Closing connection 0\ncurl: (60) SSL: no alternative certificate subject name matches target host name 'xxxx.cn'\nMore details here: https:\/\/curl.se\/docs\/sslcerts.html\n\ncurl failed to verify the legitimacy of the server and therefore could not\nestablish a secure connection to it. To learn more about this situation and\nhow to fix it, please visit the web page mentioned above.<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5f00\u542f H3 \u534f\u5546\u5931\u8d25\u540e\u964d\u7ea7\u5230 http1.1\uff0c\u4f7f\u7528tcp\u8bf7\u6c42\uff0c\u6b64\u65f6\u5ba2\u6237\u7aef\u53d1\u8d77\u7684\u8bf7\u6c42\u5728\u670d\u52a1\u7aef\u5e94\u7b54 syn+ack \u540e\uff0c\u7ecf\u5e38\u6027\u7684\u4f1a\u51fa\u73b0\u5ba2\u6237\u7aef\u76f4\u63a5rst\u8fde\u63a5\u7684\u60c5\u51b5(110-160ms\u5de6\u53f3\u6536\u5230 syn+ack, 130ms\u7684\u5e94\u7b54\u4e5f\u53ef\u4ee5\u6b63\u5e38\u8fde\u63a5)\uff0c\u68c0\u67e5\u5ba2\u6237\u7aef\u53d1\u8d77\u7684syn\u548c\u670d\u52a1\u7aef\u56de\u590d\u7684 syn+ack\uff0c\u5e76\u6ca1\u6709\u53d1\u73b0\u4ec0\u4e48\u5f02\u5e38\u3002\u4e0e\u672a\u88ab\u5ba2\u6237\u7aef rst \u7684\u8bf7\u6c42\/\u5e94\u7b54\u5305\u4e5f\u6ca1\u4ec0\u4e48\u5f02\u5e38\u533a\u522b\u3002  <br>HTTP3\u534f\u5546\u5931\u8d25\u548c\u5ba2\u6237\u7aefTCP rst \u8c8c\u4f3c\u603b\u662f\u540c\u65f6\u51fa\u73b0\u3002 <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"201\" src=\"https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tcp-rst-1024x201.png\" alt=\"\" class=\"wp-image-213\" srcset=\"https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tcp-rst-1024x201.png 1024w, https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tcp-rst-300x59.png 300w, https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tcp-rst-768x151.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li> \u5982\u679c\u8fde\u63a5\u672a\u88ab rst\uff0c\u5219\u53ef\u80fd\u53d1\u8d77 tls1.3 \u6216 tls1.0 \u7684\u8bf7\u6c42\uff0c\u5982\u679c\u53d1\u8d77 tls1.3 \u7684\u8bf7\u6c42\uff0c\u5219\u53ef\u4ee5\u6b63\u5e38\u8bf7\u6c42\u5e94\u7b54 <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"176\" src=\"https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tls1.3-1024x176.png\" alt=\"\" class=\"wp-image-215\" srcset=\"https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tls1.3-1024x176.png 1024w, https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tls1.3-300x52.png 300w, https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tls1.3-768x132.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5982\u679c\u5ba2\u6237\u7aef\u53d1\u8d77 tls1.0 \u7684\u8bf7\u6c42\uff0c\u5982\u679c\u670d\u52a1\u7aef\u672a\u5f00\u542f tls1.0 \u7684\u652f\u6301\uff0c\u5219\u65e0\u6cd5\u6b63\u5e38\u63e1\u624b\uff1b\u5982\u679c\u670d\u52a1\u7aef\u5f00\u542ftls1.0\uff0c\u56e0\u4e3a\u5ba2\u6237\u7aef\u53d1\u8d77\u7684 client hello\u4e2d \u643a\u5e26\u4e86<code>TLS_FALLBACK_SCSV<\/code>\u6807\u8bb0\uff0c\u670d\u52a1\u7aef\u5219\u8fd4\u56de <code>Inappropriate Fallback<\/code>\u9519\u8bef\uff0c\u8fd8\u662f\u65e0\u6cd5\u63e1\u624b\uff0c\u5982\u4e0b\u6240\u793a\u3002<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"370\" src=\"https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tls1.0-1024x370.png\" alt=\"\" class=\"wp-image-216\" srcset=\"https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tls1.0-1024x370.png 1024w, https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tls1.0-300x108.png 300w, https:\/\/lovelyping.com\/wp-content\/uploads\/2022\/11\/tls1.0-768x278.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e34\u65f6\u89c4\u907f\u65b9\u6848<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>\u6b63\u786e\u914d\u7f6e\u670d\u52a1\u5668\u7684HTTP3(QUIC\uff09<\/li><li>\u5b8c\u5168\u5173\u95ed\u670d\u52a1\u5668\u7684HTTP3(QUIC)\u7aef\u53e3\uff0c\u5373UDP 443<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u5176\u4ed6<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u817e\u8baf\u4e91 DNSPod \u5df2\u7ecf\u652f\u6301 HTTPS\uff08type65\uff09\u8bb0\u5f55\u7c7b\u578b\u8bbe\u7f6e\uff0c\u6b63\u786e\u8bbe\u7f6e\u540e\u53ef\u4ee5\u5bf9 IOS14 \u4ee5\u4e0a\u7684\u8bbf\u95ee\u6709\u4e00\u5b9a\u7684\u4f18\u5316\u4f5c\u7528\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u8bb0\u5f55\u7c7b\u578b\u5c1a\u5904\u4e8e\u8349\u6848\u9636\u6bb5\uff0c \u817e\u8baf\u4e91 DNSPod \u540e\u7eed\u4f1a\u6301\u7eed\u5173\u6ce8\u5e76\u8ddf\u8fdb\u76f8\u5173\u8349\u6848\u7684\u66f4\u65b0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u78b0\u5230\u4e2a\u5ba2\u6237\u95ee\u9898\uff0c\u5fae\u4fe1\u516c\u4f17\u53f7\u91cc\u6709\u4e2a\u670d\u52a1\u94fe\u63a5\uff0c\u5728 IOS \u4e0b\u5076\u53d1\u5931\u8d25\uff0c\u62a5\u9519 -1200\uff0c\u7ecf\u8fc7\u6392\u67e5\u53d1\u73b0\u662f IOS &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lovelyping.com\/?p=210\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cIOS 16 \u5f02\u5e38\u964d\u7ea7\u5230 tls1.0 \u7684\u95ee\u9898\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[24,25,26],"class_list":["post-210","post","type-post","status-publish","format-standard","hentry","category-https","tag-http3","tag-ios","tag-tls"],"_links":{"self":[{"href":"https:\/\/lovelyping.com\/index.php?rest_route=\/wp\/v2\/posts\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lovelyping.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lovelyping.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lovelyping.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lovelyping.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=210"}],"version-history":[{"count":11,"href":"https:\/\/lovelyping.com\/index.php?rest_route=\/wp\/v2\/posts\/210\/revisions"}],"predecessor-version":[{"id":258,"href":"https:\/\/lovelyping.com\/index.php?rest_route=\/wp\/v2\/posts\/210\/revisions\/258"}],"wp:attachment":[{"href":"https:\/\/lovelyping.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lovelyping.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lovelyping.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}