{"id":2441,"date":"2020-11-30T03:15:34","date_gmt":"2020-11-30T03:15:34","guid":{"rendered":"http:\/\/blog.zhukunqian.com\/?p=2441"},"modified":"2020-11-30T03:15:34","modified_gmt":"2020-11-30T03:15:34","slug":"unity%e4%b8%8bssl%e8%af%81%e4%b9%a6%e9%aa%8c%e8%af%81%e5%a4%b1%e8%b4%a5","status":"publish","type":"post","link":"https:\/\/blog.zhukunqian.com\/?p=2441","title":{"rendered":"unity\u4e0bssl\u8bc1\u4e66\u9a8c\u8bc1\u5931\u8d25"},"content":{"rendered":"\n<p>&#8220;System.IO.IOException: The authentication or decryption has failed. &#8212;> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.\\r\\n  at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert (AlertLevel alertLevel, AlertDescription alertDesc) [0x00000] in :0 \\r\\n  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in :0 \\r\\n  &#8212; End of inner exception stack trace &#8212;\\r\\n  at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in :0 &#8220;<\/p>\n\n\n\n<p>\u7ebf\u4e0a\u6b63\u5728\u8dd1\u7684\u4e00\u4e2a\u9879\u76ee\uff0c\u7a81\u7136\u51fa\u73b0\u5982\u4e0a\u7684\u9519\u8bef\u3002\u5f88\u4e45\u4e4b\u524d\u6211\u5c31\u77e5\u9053\u4e86\uff0cunity\u4e2d\u53ef\u4ee5\u5f3a\u5236\u8bbe\u7f6e\u4e3a\u4e0d\u9a8c\u8bc1ssl\u8bc1\u4e66\uff0c\u4f46\u6211\u597d\u5947\u7684\u662f\uff0c\u8fd9\u4e2a\u662f\u7ebf\u4e0a\u6b63\u5728\u8dd1\u7684\u9879\u76ee\uff0cSSL\u8bc1\u4e66\u4e5f\u6ca1\u6709\u51fa\u73b0\u66f4\u6362\u7684\u60c5\u51b5\uff0c\u4e3a\u4ec0\u4e48\u7a81\u7136\u95f4\u5c31\u9a8c\u8bc1\u5931\u8d25\u4e86\u3002<\/p>\n\n\n\n<p>\u4e00\u5f00\u59cb\u731c\u6d4b\u4f1a\u4e0d\u4f1a\u662f\u8bc1\u4e66\u672c\u8eab\u7684\u95ee\u9898\uff0c\u7528\u4e86\u51e0\u4e2a\u68c0\u6d4bSSL\u8bc1\u4e66\u7f51\u7ad9\u8fdb\u884c\u68c0\u6d4b\uff0c\u7ed3\u679c\u6b63\u5e38\u3002<\/p>\n\n\n\n<p>\u548c\u8fd0\u7ef4\u6392\u67e5\u4e86\u4e00\u4e0b\u5348\u6ca1\u627e\u5230\u539f\u56e0\u3002\u8fd9\u4e2a\u5730\u65b9\u8bf7\u6c42\u5931\u8d25\u5bf9\u5ba2\u6237\u7aef\u76ee\u524d\u5e76\u65e0\u5927\u5f71\u54cd\uff0c\u540e\u7eed\u51c6\u5907\u4fee\u6539\u4ee3\u7801\u907f\u514d\u8fd9\u4e2a\u68c0\u6d4b\u3002<\/p>\n\n\n\n<p>\u5468\u4e00\u6765\u516c\u53f8\u65f6\uff0c\u53c8\u5bf9\u8fd9\u4e2a\u4e8b\u6bd4\u8f83\u597d\u5947\u4e86\uff0c\u51b3\u5b9a\u518d\u91cd\u65b0\u7406\u4e00\u4e0b\u5934\u7eea\uff0c\u770b\u662f\u4e0d\u662f\u6f0f\u4e86\u4ec0\u4e48\u7ebf\u7d22\u6ca1\u6709\u53d1\u73b0\u3002\u4ece\u5934\u5f00\u59cb\u91cd\u65b0\u4e00\u6b65\u4e00\u6b65\u63a8\u6d4b\u3002<\/p>\n\n\n\n<p>\u5728\u68c0\u6d4bSSL\u8bc1\u4e66\u65f6\uff0c\u7a81\u7136\u53d1\u73b0\u8bc1\u4e66\u53ea\u652f\u6301TLS1.2<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"286\" src=\"http:\/\/blog.zhukunqian.com\/wp-content\/uploads\/2020\/11\/image.png\" alt=\"\" class=\"wp-image-2442\"\/><\/figure>\n\n\n\n<p>\u8fd9\u91cc\u51fa\u73b0\u4e86\u4e00\u4e1d\u7591\u60d1\uff0c\u96be\u9053\u914d\u7684\u8bc1\u4e66\u4e0d\u652f\u6301TLS1.0\/1.1\uff0c\u53c8\u627e\u5230\u51e0\u4e2a\u68c0\u6d4b\u5de5\u5177\u6d4b\u8bd5\u4e86\uff0c\u4e5f\u663e\u793a\u4e0d\u652f\u6301TLS1.0\/1.1\u3002<br>\u627e\u5230\u516c\u53f8\u91cc\u53e6\u4e00\u4e2a\u652f\u6301TLS1.0\/1.1\u7684\u57df\u540d\u8fdb\u884c\u6d4b\u8bd5\uff0c\u53ef\u4ee5\u6210\u529f\u8bbf\u95ee\u3002<\/p>\n\n\n\n<p>\u5c06\u8fd9\u4e2a\u60c5\u51b5\u53cd\u9988\u7ed9\u8fd0\u7ef4\uff0c\u8fd0\u7ef4\u540c\u5b66\u624d\u60f3\u5230\uff0c\u524d\u4e00\u6bb5\u65f6\u95f4\u5c06\u8fd0\u884c\u73af\u5883\u5bb9\u5668\u5316\uff0c\u5bb9\u5668\u9ed8\u8ba4\u53ea\u5f00\u542f\u4e86TLS1.2\u3002<\/p>\n\n\n\n<p>\u4fee\u6539\u4e3a\u652f\u6301TLS1.0\/1.1\u540e\uff0c\u7ebf\u4e0a\u95ee\u9898\u89e3\u51b3\uff0c\u4e0d\u7528\u91cd\u65b0\u53d1\u5305\u4e86.yeah.<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;System.IO.IOException: The authen &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/blog.zhukunqian.com\/?p=2441\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/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":[],"_links":{"self":[{"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=\/wp\/v2\/posts\/2441"}],"collection":[{"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2441"}],"version-history":[{"count":1,"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=\/wp\/v2\/posts\/2441\/revisions"}],"predecessor-version":[{"id":2443,"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=\/wp\/v2\/posts\/2441\/revisions\/2443"}],"wp:attachment":[{"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhukunqian.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}