{"id":755,"date":"2014-07-26T02:46:02","date_gmt":"2014-07-26T02:46:02","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=755"},"modified":"2014-07-26T02:46:02","modified_gmt":"2014-07-26T02:46:02","slug":"%e8%bd%ac%e5%9b%be%e8%a7%a3https","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/755.html","title":{"rendered":"[collect]\u56fe\u89e3HTTPS"},"content":{"rendered":"<p style=\"color: #111111;\">\u4eca\u5929\u7a81\u7136\u60f3\u56de\u987e\u4e00\u4e0bHTTPS\u7684\u76f8\u5173\u77e5\u8bc6\u70b9\uff0c\u4f46\u4e00\u65f6\u53d1\u73b0\u81ea\u5df1\u5bf9\u8fd9\u4e2a\u5185\u5bb9\u8fd8\u771f\u7684\u4e0d\u662f\u5f88\u6e05\u695a\uff0c\u4e8e\u662f\u53bb\u7f51\u4e0a\u627e\u5bf9\u5e94\u7684\u6587\u7ae0\u770b\uff0c\u4e0b\u9762\u7684<a href=\"http:\/\/limboy.me\/tech\/2011\/02\/19\/https-workflow.html\" target=\"_blank\">\u8fd9\u7bc7\u6587\u7ae0<\/a>\u5c31\u662f\u4e00\u7bc7\u56fe\u6587\u5e76\u8302\u7684\u8bb2\u89e3\uff0c\u975e\u5e38\u7ec6\u81f4\u3001\u6613\u61c2\uff1a<\/p>\n<hr \/>\n<p style=\"color: #111111;\">\u6211\u4eec\u90fd\u77e5\u9053HTTPS\u80fd\u591f\u52a0\u5bc6\u4fe1\u606f\uff0c\u4ee5\u514d\u654f\u611f\u4fe1\u606f\u88ab\u7b2c\u4e09\u65b9\u83b7\u53d6\u3002\u6240\u4ee5\u5f88\u591a\u94f6\u884c\u7f51\u7ad9\u6216\u7535\u5b50\u90ae\u7bb1\u7b49\u7b49\u5b89\u5168\u7ea7\u522b\u8f83\u9ad8\u7684\u670d\u52a1\u90fd\u4f1a\u91c7\u7528HTTPS\u534f\u8bae\u3002<\/p>\n<h3 style=\"color: #333333;\">HTTPS\u7b80\u4ecb<\/h3>\n<p style=\"color: #111111;\">HTTPS\u5176\u5b9e\u662f\u6709\u4e24\u90e8\u5206\u7ec4\u6210\uff1aHTTP +\u00a0<span class=\"caps\">SSL<\/span>\u00a0\/ TLS\uff0c\u4e5f\u5c31\u662f\u5728HTTP\u4e0a\u53c8\u52a0\u4e86\u4e00\u5c42\u5904\u7406\u52a0\u5bc6\u4fe1\u606f\u7684\u6a21\u5757\u3002\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684\u4fe1\u606f\u4f20\u8f93\u90fd\u4f1a\u901a\u8fc7TLS\u8fdb\u884c\u52a0\u5bc6\uff0c\u6240\u4ee5\u4f20\u8f93\u7684\u6570\u636e\u90fd\u662f\u52a0\u5bc6\u540e\u7684\u6570\u636e\u3002\u5177\u4f53\u662f\u5982\u4f55\u8fdb\u884c\u52a0\u5bc6\uff0c\u89e3\u5bc6\uff0c\u9a8c\u8bc1\u7684\uff0c\u4e14\u770b\u4e0b\u56fe\uff1a<\/p>\n<p style=\"color: #111111;\"><img decoding=\"async\" src=\"http:\/\/limboy.me\/image\/https.png\" alt=\"\" \/><\/p>\n<h3 style=\"color: #333333;\">1. \u5ba2\u6237\u7aef\u53d1\u8d77HTTPS\u8bf7\u6c42<\/h3>\n<p>\u7528\u6237\u5728\u6d4f\u89c8\u5668\u91cc\u8f93\u5165\u4e00\u4e2ahttps\u7f51\u5740\uff0c\u6d4f\u89c8\u5668\u8fde\u63a5\u5230\u670d\u52a1\u5668\u7684443\u7aef\u53e3\u3002\u7531\u4e8e\u5ba2\u6237\u7aef\uff08\u6bd4\u5982\u8fd9\u91cc\u7684\u6d4f\u89c8\u5668\uff09\u5bf9\u4e00\u4e9b\u52a0\u89e3\u5bc6\u7b97\u6cd5\u7684\u652f\u6301\u7a0b\u5ea6\u4e0d\u4e00\u6837\uff0c\u4f46\u662f<span style=\"color: #0000ff;\">\u5728TLS\u534f\u8bae\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u5fc5\u987b\u4f7f\u7528\u540c\u4e00\u5957\u52a0\u89e3\u5bc6\u7b97\u6cd5\u624d\u80fd\u4fdd\u8bc1\u6570\u636e\u80fd\u591f\u6b63\u5e38\u7684\u52a0\u89e3\u5bc6\u3002\u6240\u4ee5\u5ba2\u6237\u7aef\u9996\u5148\u8981\u544a\u77e5\u670d\u52a1\u7aef\uff0c\u81ea\u5df1\u652f\u6301\u54ea\u4e9b\u52a0\u5bc6\u7b97\u6cd5\uff0c\u6240\u4ee5\u5ba2\u6237\u7aef\u9700\u8981\u5c06\u672c\u5730\u652f\u6301\u7684\u52a0\u5bc6\u5957\u4ef6\uff08Cipher Suite\uff09\u7684\u5217\u8868\u4f20\u9001\u7ed9\u670d\u52a1\u7aef\u3002\u5305\u542b\u652f\u6301\u7684\u534f\u8bae\u7248\u672c\u3001\u652f\u6301\u7684\u52a0\u5bc6\u65b9\u6cd5\u3001\u652f\u6301\u7684\u538b\u7f29\u65b9\u6cd5\u7b49\u4fe1\u606f<\/span>\u3002<\/p>\n<h3 style=\"color: #333333;\">2. \u670d\u52a1\u7aef\u7684\u914d\u7f6e<\/h3>\n<p style=\"color: #111111;\"><span style=\"color: #ff0000;\">\u91c7\u7528HTTPS\u534f\u8bae\u7684\u670d\u52a1\u5668\u5fc5\u987b\u8981\u6709\u4e00\u5957\u6570\u5b57\u8bc1\u4e66\uff0c\u53ef\u4ee5\u81ea\u5df1\u5236\u4f5c\uff0c\u4e5f\u53ef\u4ee5\u5411\u7ec4\u7ec7\u7533\u8bf7\u3002<\/span>\u533a\u522b\u5c31\u662f\u81ea\u5df1\u9881\u53d1\u7684\u8bc1\u4e66\u9700\u8981\u5ba2\u6237\u7aef\u9a8c\u8bc1\u901a\u8fc7\uff0c\u624d\u53ef\u4ee5\u7ee7\u7eed\u8bbf\u95ee\uff0c\u800c\u4f7f\u7528\u53d7\u4fe1\u4efb\u7684\u516c\u53f8\u7533\u8bf7\u7684\u8bc1\u4e66\u5219\u4e0d\u4f1a\u5f39\u51fa\u63d0\u793a\u9875\u9762\u3002<span style=\"color: #ff0000;\">\u8fd9\u5957\u8bc1\u4e66\u5176\u5b9e\u5c31\u662f\u4e00\u5bf9\u516c\u94a5\u548c\u79c1\u94a5\u3002<\/span>\u5982\u679c\u5bf9\u516c\u94a5\u548c\u79c1\u94a5\u4e0d\u592a\u7406\u89e3\uff0c\u53ef\u4ee5\u60f3\u8c61\u6210\u4e00\u628a\u94a5\u5319\u548c\u4e00\u628a\u9501\uff0c\u53ea\u662f\u5168\u4e16\u754c\u53ea\u6709\u4f60\u4e00\u4e2a\u4eba\u6709\u8fd9\u628a\u94a5\u5319\uff0c\u4f60\u53ef\u4ee5\u628a\u9501\u7ed9\u522b\u4eba\uff0c\u522b\u4eba\u53ef\u4ee5\u7528\u8fd9\u4e2a\u9501\u628a\u91cd\u8981\u7684\u4e1c\u897f\u9501\u8d77\u6765\uff0c\u7136\u540e\u53d1\u7ed9\u4f60\uff0c\u56e0\u4e3a\u53ea\u6709\u4f60\u4e00\u4e2a\u4eba\u6709\u8fd9\u628a\u94a5\u5319\uff0c\u6240\u4ee5\u53ea\u6709\u4f60\u624d\u80fd\u770b\u5230\u88ab\u8fd9\u628a\u9501\u9501\u8d77\u6765\u7684\u4e1c\u897f\u3002<\/p>\n<h3 style=\"color: #333333;\">3. \u4f20\u9001\u8bc1\u4e66<\/h3>\n<p style=\"color: #111111;\">\u8fd9\u4e2a\u8bc1\u4e66\u5176\u5b9e\u5c31\u662f\u516c\u94a5\uff0c\u53ea\u662f\u5305\u542b\u4e86\u5f88\u591a\u4fe1\u606f\uff0c\u5982\u8bc1\u4e66\u7684\u9881\u53d1\u673a\u6784\uff0c\u8fc7\u671f\u65f6\u95f4\u7b49\u7b49\u3002<\/p>\n<h3 style=\"color: #333333;\">4. \u5ba2\u6237\u7aef\u89e3\u6790\u8bc1\u4e66<\/h3>\n<p style=\"color: #111111;\">\u8fd9\u90e8\u5206\u5de5\u4f5c\u662f\u6709\u5ba2\u6237\u7aef\u7684TLS\u6765\u5b8c\u6210\u7684\uff0c\u9996\u5148\u4f1a\u9a8c\u8bc1\u516c\u94a5\u662f\u5426\u6709\u6548\uff0c\u6bd4\u5982\u9881\u53d1\u673a\u6784\uff0c\u8fc7\u671f\u65f6\u95f4\u7b49\u7b49\uff0c\u5982\u679c\u53d1\u73b0\u5f02\u5e38\uff0c\u5219\u4f1a\u5f39\u51fa\u4e00\u4e2a\u8b66\u544a\u6846\uff0c\u63d0\u793a\u8bc1\u4e66\u5b58\u5728\u95ee\u9898\u3002<span style=\"color: #ff0000;\">\u5982\u679c\u8bc1\u4e66\u6ca1\u6709\u95ee\u9898\uff0c\u90a3\u4e48\u5c31\u751f\u6210\u4e00\u4e2a\u968f\u673a\u503c\u3002\u7136\u540e\u7528\u8bc1\u4e66\u5bf9\u8be5\u968f\u673a\u503c\u8fdb\u884c\u52a0\u5bc6\u3002<\/span>\u5c31\u597d\u50cf\u4e0a\u9762\u8bf4\u7684\uff0c\u628a\u968f\u673a\u503c\u7528\u9501\u7ed9\u9501\u8d77\u6765\uff0c\u8fd9\u6837\u9664\u975e\u6709\u94a5\u5319\uff0c\u4e0d\u7136\u770b\u4e0d\u5230\u88ab\u9501\u4f4f\u7684\u5185\u5bb9\u3002<\/p>\n<h3 style=\"color: #333333;\">5. \u4f20\u9001\u52a0\u5bc6\u4fe1\u606f<\/h3>\n<p style=\"color: #111111;\">\u8fd9\u90e8\u5206\u4f20\u9001\u7684\u662f\u7528\u8bc1\u4e66\u52a0\u5bc6\u540e\u7684\u968f\u673a\u503c\uff0c\u76ee\u7684\u5c31\u662f\u8ba9\u670d\u52a1\u7aef\u5f97\u5230\u8fd9\u4e2a\u968f\u673a\u503c\uff0c\u4ee5\u540e\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u7684\u901a\u4fe1\u5c31\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u968f\u673a\u503c\u4f5c\u4e3a\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u4e2d\u7684\u4e3b\u5bc6\u94a5\u6765\u8fdb\u884c\u52a0\u5bc6\u89e3\u5bc6\u4e86\u3002<\/p>\n<h3 style=\"color: #333333;\">6. \u670d\u52a1\u7aef\u89e3\u5bc6\u4fe1\u606f<\/h3>\n<p style=\"color: #111111;\">\u670d\u52a1\u7aef\u7528\u79c1\u94a5\u89e3\u5bc6\u540e\uff0c\u5f97\u5230\u4e86\u5ba2\u6237\u7aef\u4f20\u8fc7\u6765\u7684\u968f\u673a\u503c\uff08\u5bc6\u94a5\uff09\uff0c\u7136\u540e\u628a\u5185\u5bb9\u901a\u8fc7\u8be5\u503c\u8fdb\u884c\u5bf9\u79f0\u52a0\u5bc6\u3002\u6240\u8c13\u5bf9\u79f0\u52a0\u5bc6\u5c31\u662f\uff0c\u5c06\u4fe1\u606f\u548c\u5bc6\u94a5\u901a\u8fc7\u67d0\u79cd\u7b97\u6cd5\u6df7\u5408\u5728\u4e00\u8d77\uff0c\u8fd9\u6837\u9664\u975e\u77e5\u9053\u5bc6\u94a5\uff0c\u4e0d\u7136\u65e0\u6cd5\u83b7\u53d6\u5185\u5bb9\uff0c\u800c\u6b63\u597d\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u90fd\u77e5\u9053\u8fd9\u4e2a\u5bc6\u94a5\uff0c\u6240\u4ee5\u53ea\u8981\u52a0\u5bc6\u7b97\u6cd5\u591f\u5f6a\u608d\uff0c\u5bc6\u94a5\u591f\u590d\u6742\uff0c\u6570\u636e\u5c31\u591f\u5b89\u5168\u3002<\/p>\n<h3 style=\"color: #333333;\">7. \u4f20\u8f93\u52a0\u5bc6\u540e\u7684\u4fe1\u606f<\/h3>\n<p style=\"color: #111111;\">\u8fd9\u90e8\u5206\u4fe1\u606f\u662f\u670d\u52a1\u5668\u7aef\u7528\u534f\u5546\u597d\u4e86\u4e4b\u540e\u7684\u5bc6\u94a5\uff08\u90a3\u4e2a\u7531\u5ba2\u6237\u7aef\u751f\u6210\u7684\u968f\u673a\u503c\uff09\u52a0\u5bc6\u540e\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u5728\u5ba2\u6237\u7aef\u88ab\u8fd8\u539f\u3002<\/p>\n<h3 style=\"color: #333333;\">8. \u5ba2\u6237\u7aef\u89e3\u5bc6\u4fe1\u606f<\/h3>\n<p style=\"color: #111111;\">\u5ba2\u6237\u7aef\u7528\u4e4b\u524d\u751f\u6210\u7684\u5bc6\u94a5\u89e3\u5bc6\u670d\u52a1\u5668\u7aef\u4f20\u8fc7\u6765\u7684\u4fe1\u606f\uff0c\u4e8e\u662f\u83b7\u53d6\u4e86\u89e3\u5bc6\u540e\u7684\u5185\u5bb9\u3002\u6574\u4e2a\u8fc7\u7a0b\u7b2c\u4e09\u65b9\u5373\u4f7f\u76d1\u542c\u5230\u4e86\u6570\u636e\uff0c\u4e5f\u675f\u624b\u65e0\u7b56\uff0c\u56e0\u4e3a\u6570\u636e\u662f\u88ab\u52a0\u5bc6\u8fc7\u4e86\u7684\u3002<\/p>\n<p style=\"color: #111111;\"><span style=\"color: #111111;\">=EOF=<\/span><\/p>\n<h6>\u539f\u6587\u5730\u5740\uff1a<\/h6>\n<p><a href=\"http:\/\/limboy.me\/tech\/2011\/02\/19\/https-workflow.html\">http:\/\/limboy.me\/tech\/2011\/02\/19\/https-workflow.html<\/a>\u00a0[\u7a0d\u6709\u6539\u52a8]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u7a81\u7136\u60f3\u56de\u987e\u4e00\u4e0bHTTPS\u7684\u76f8\u5173\u77e5\u8bc6\u70b9\uff0c\u4f46\u4e00\u65f6\u53d1\u73b0\u81ea\u5df1\u5bf9\u8fd9\u4e2a\u5185\u5bb9\u8fd8\u771f\u7684\u4e0d\u662f\u5f88\u6e05\u695a\uff0c\u4e8e\u662f\u53bb\u7f51\u4e0a\u627e\u5bf9\u5e94\u7684\u6587\u7ae0\u770b\uff0c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,25],"tags":[273],"class_list":["post-755","post","type-post","status-publish","format-standard","hentry","category-knowledgebase-2","category-security","tag-https"],"views":4905,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=755"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/755\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}