{"id":456,"date":"2020-07-25T12:12:00","date_gmt":"2020-07-25T04:12:00","guid":{"rendered":"https:\/\/www.ccagml.com\/?p=456"},"modified":"2021-10-24T21:00:27","modified_gmt":"2021-10-24T13:00:27","slug":"http-%e4%b8%8e-https-%e7%9a%84%e5%8c%ba%e5%88%ab","status":"publish","type":"post","link":"https:\/\/www.ccagml.com\/?p=456","title":{"rendered":"HTTP \u4e0e HTTPs \u7684\u533a\u522b"},"content":{"rendered":"\n<p>HTTP\uff08Hyper Text Transfer Protocol: \u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\uff09\u4f7f\u7528TCP\u4f5c\u4e3a\u4f20\u8f93\u5c42\u534f\u8bae\u9ed8\u8ba4\u4f7f\u752880\u7aef\u53e3\u5185\u5bb9\u4ee5\u660e\u6587\u53d1\u9001<\/p>\n\n\n\n<p>HTTPS\uff08Hyper Text Transfer Protocol over Secure Socket Layer\uff09\u662f\u4ee5\u5b89\u5168\u4e3a\u76ee\u6807\u7684 HTTP \u534f\u8bae\uff0c443 \u7aef\u53e3,\u5728HTTP\u7684\u57fa\u7840\u4e0a\u589e\u52a0\u4f20\u8f93\u52a0\u5bc6\u4fdd\u8bc1\u5b89\u5168\u3002<\/p>\n\n\n\n<p>HTTP\u6bd4HTTPS\u901f\u5ea6\u5feb\uff0c\u4e3b\u8981\u5728\u4e8eHTTPS\u591a\u4e86\u4e00\u4e2a\u534f\u5546SSL\u7684\u8fc7\u7a0b<\/p>\n\n\n\n<p>1\u5ba2\u6237\u7aef\u53d1\u8d77\u4e00\u4e2a HTTPS \u8bf7\u6c42\uff0c\u53d1\u9001\u81ea\u8eab\u6240\u652f\u6301\u7684\u7b97\u6cd5\u5217\u8868\u548c\u5bc6\u94a5\u957f\u5ea6\u7b49\uff1b<\/p>\n\n\n\n<p>2\u670d\u52a1\u7aef\u9009\u62e9\u53cc\u65b9\u90fd\u652f\u6301\u7684\u52a0\u5bc6\u7b97\u6cd5\u3002\u5982\u679c\u6ca1\u6709\u5408\u9002\u7684\u5c31\u4f1a\u65ad\u5f00\u94fe\u63a5\u3002<\/p>\n\n\n\n<p>3 \u5982\u679c\u6709\u5408\u9002\u7684\u52a0\u5bc6\u7b97\u6cd5\uff0c\u670d\u52a1\u5668\u5411\u5ba2\u6237\u7aef\u53d1\u9001\u4e00\u4e2a\u5305\u542b\u6570\u5b57\u8bc1\u4e66\u7684\u62a5\u6587\uff0c\u8be5\u6570\u5b57\u8bc1\u4e66\u4ece\u6570\u5b57\u8ba4\u8bc1\u673a\u6784\uff08Certificate Authority, CA\uff09\u4e2d\u7533\u8bf7\uff0c\u5305\u542b\u8bc1\u4e66\u7684\u9881\u53d1\u673a\u6784\u3001\u4f7f\u7528\u673a\u6784\u3001\u7b7e\u540dhash\u7b97\u6cd5\u3001\u7b7e\u540d\u7b97\u6cd5\u3001\u8fc7\u671f\u65f6\u95f4\u3001\u670d\u52a1\u7aef\u7684\u516c\u94a5\u3001\u6307\u7eb9\u3001\u6307\u7eb9\u7b97\u6cd5\u7b49\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>4\u6700\u540e\u670d\u52a1\u7aef\u53d1\u9001\u4e00\u4e2a\u5b8c\u6210\u62a5\u6587\u901a\u77e5\u5ba2\u6237\u7aef SSL \u7684\u7b2c\u4e00\u9636\u6bb5\u5df2\u7ecf\u534f\u5546\u5b8c\u6210\u3002<\/p>\n\n\n\n<p>5 \u5ba2\u6237\u7aef\u9a8c\u8bc1\u6536\u5230\u7684\u8bc1\u4e66<\/p>\n\n\n\n<p>6 \u5ba2\u6237\u7aef\u751f\u6210 \u968f\u673a\u6570\uff0c\u65e2\u540e\u9762\u7684\u79c1\u94a5\u3002\u53d1\u9001\u7ed9\u670d\u52a1\u7aef<\/p>\n\n\n\n<p>7 \u8fd9\u6b21\u63e1\u624b\u4e2d\u5305\u542b\u7b2c\u4e00\u6b21\u63e1\u624b\u81f3\u4eca\u6240\u6709\u62a5\u6587\u7684\u6574\u4f53\u6821\u9a8c\u503c\uff0c\u6700\u7ec8\u534f\u5546\u662f\u5426\u5b8c\u6210\u53d6\u51b3\u4e8e\u670d\u52a1\u7aef\u80fd\u5426\u6210\u529f\u89e3\u5bc6\u3002\u83b7\u5f97\u5ba2\u6237\u7aef\u7684\u968f\u673a\u6570<\/p>\n\n\n\n<p>8 \u670d\u52a1\u7aef\u540c\u6837\u53d1\u9001\u4e0e\u7b2c 6 \u6b65\u4e2d\u76f8\u540c\u4f5c\u7528\u7684\u62a5\u6587\uff0c\u5df2\u8ba9\u5ba2\u6237\u7aef\u8fdb\u884c\u786e\u8ba4\uff0c\u6700\u540e\u53d1\u9001 finish \u62a5\u6587\u544a\u8bc9\u5ba2\u6237\u7aef\u81ea\u5df1\u80fd\u591f\u6b63\u786e\u89e3\u5bc6\u62a5\u6587\u3002<\/p>\n\n\n\n<p>\u5f53\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684 finish \u62a5\u6587\u4ea4\u6362\u5b8c\u6210\u4e4b\u540e\uff0cSSL \u8fde\u63a5\u5c31\u7b97\u5efa\u7acb\u5b8c\u6210\u4e86\uff0c\u4e4b\u540e\u5c31\u8fdb\u884c\u548c HTTP \u76f8\u540c\u7684\u901a\u4fe1\u8fc7\u7a0b\uff0c\u552f\u4e00\u4e0d\u540c\u7684\u662f\u5728 HTTP \u901a\u4fe1\u8fc7\u7a0b\u4e2d\u5e76\u4e0d\u662f\u91c7\u7528\u660e\u6587\u4f20\u8f93\uff0c\u800c\u662f\u91c7\u7528\u5bf9\u79f0\u52a0\u5bc6\u7684\u65b9\u5f0f\uff0c\u5176\u4e2d\u5bf9\u79f0\u5bc6\u94a5\u5df2\u7ecf\u5728 SSL \u7684\u5efa\u7acb\u8fc7\u7a0b\u4e2d\u534f\u5546\u597d\u4e86\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTTP\uff08Hyper Text Transfer Protocol: \u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\uff09\u4f7f\u7528TCP\u4f5c\u4e3a\u4f20\u8f93\u5c42\u534f\u8bae<a href=\"https:\/\/www.ccagml.com\/?p=456\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">HTTP \u4e0e HTTPs \u7684\u533a\u522b<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ccagml.com\/index.php?rest_route=\/wp\/v2\/posts\/456"}],"collection":[{"href":"https:\/\/www.ccagml.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ccagml.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ccagml.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ccagml.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=456"}],"version-history":[{"count":1,"href":"https:\/\/www.ccagml.com\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":457,"href":"https:\/\/www.ccagml.com\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions\/457"}],"wp:attachment":[{"href":"https:\/\/www.ccagml.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ccagml.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ccagml.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}