{"id":887,"date":"2019-10-17T10:22:19","date_gmt":"2019-10-17T02:22:19","guid":{"rendered":"http:\/\/cn.hostease.com\/blog\/?p=887"},"modified":"2019-10-17T10:22:19","modified_gmt":"2019-10-17T02:22:19","slug":"%e5%a6%82%e4%bd%95%e7%bb%99wordpress%e7%ab%99%e7%82%b9%e5%ae%89%e8%a3%85%e5%b9%b6%e5%90%af%e7%94%a8ssl%e8%af%81%e4%b9%a6","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/blog\/website\/website-security\/%e5%a6%82%e4%bd%95%e7%bb%99wordpress%e7%ab%99%e7%82%b9%e5%ae%89%e8%a3%85%e5%b9%b6%e5%90%af%e7%94%a8ssl%e8%af%81%e4%b9%a6\/","title":{"rendered":"\u5982\u4f55\u7ed9WordPress\u7ad9\u70b9\u5b89\u88c5\u5e76\u542f\u7528SSL\u8bc1\u4e66"},"content":{"rendered":"<p>\u4e3a\u4e86\u4fdd\u8bc1\u7f51\u7ad9\u7684\u6570\u636e\u5b89\u5168\uff0c\u7f51\u7ad9\u62e5\u6709\u8005\u60f3\u51fa\u4e86\u5f88\u591a\u529e\u6cd5\u6765\u4fdd\u62a4\u81ea\u5df1\u7684\u7f51\u7ad9\uff0c\u4f8b\u5982\u5b89\u88c5\u5b89\u5168\u63d2\u4ef6\uff0c\u4f7f\u7528\u5f3a\u5bc6\u7801\u7b49\u3002\u5b89\u88c5<a href=\"http:\/\/cn.hostease.com\" target=\"_blank\" rel=\"noopener\"><strong>SSL\u8bc1\u4e66<\/strong><\/a>\u65e0\u7591\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u597d\u65b9\u6cd5\u3002\u5728\u5ba2\u6237\u4e0e\u7f51\u7ad9\u8fdb\u884c\u4ea4\u4e92\u65f6\uff0cSSl\u8bc1\u4e66\u53ef\u4ee5\u5c06\u5ba2\u6237\u63d0\u4f9b\u7684\u4fe1\u606f\u8fdb\u884c\u52a0\u5bc6\uff0c\u4ee5\u907f\u514d\u88ab\u5176\u4ed6\u4eba\u76d7\u53d6\u5e76\u67e5\u770b\u5230\u76f8\u5173\u7684\u4fe1\u606f\u3002\u90a3\u4e48\u5982\u4f55\u6765\u5b89\u88c5\u5e76\u542f\u7528SSL\u8bc1\u4e66\u5462?<\/p>\n<p>1.\u9996\u5148\u9700\u8981\u5728\u670d\u52a1\u5668\u4e2d\u5b89\u88c5SSL\u8bc1\u4e66\u3002<\/p>\n<p>SSL\u8bc1\u4e66\u7684\u79cd\u7c7b\u591a\u79cd\u591a\u6837\uff0c\u4e00\u822c\u5206\u4e3a\u57df\u540d\u9a8c\u8bc1(DV)\u3001\u7ec4\u7ec7\u9a8c\u8bc1(OV)\u3001\u6269\u5c55\u9a8c\u8bc1(EV)\uff0c\u800c\u4e14SSL\u8bc1\u4e66\u8fd8\u6709\u4ed8\u8d39\u7248\u548c\u514d\u8d39\u7248\u4e24\u79cd\uff0c\u5982\u679c\u9009\u62e9\u4e86\u4ed8\u8d39\u7684SSL\u8bc1\u4e66\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u8054\u7cfb\u5b83\u4eec\u7684\u552e\u540e\u652f\u6301\u5e2e\u60a8\u7ee7\u7eed\u8fdb\u884c\u5b89\u88c5\uff0c\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u514d\u8d39\u7684SSl\u8bc1\u4e66\uff0c\u90a3\u4e48\u5b89\u88c5SSL\u8bc1\u4e66\u7684\u5de5\u4f5c\u9700\u8981\u60a8\u6765\u81ea\u5df1\u5b8c\u6210\u3002\u5f53\u7136\u60a8\u4e5f\u53ef\u4ee5\u4e0a\u7f51\u641c\u7d22\u76f8\u5173\u7684\u6559\u7a0b\u6765\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p>\u4e00\u822c\u6765\u8bf4\uff0c\u5982\u679c\u5b89\u5168\u6027\u8981\u6c42\u6bd4\u8f83\u9ad8\uff0c\u8bf7\u9009\u62e9\u4ed8\u8d39\u7248SSL\u8bc1\u4e66\uff0c\u5e76\u4e14\u5b89\u5168\u7b49\u7ea7\u8d8a\u9ad8\uff0c\u4ef7\u683c\u4e5f\u4f1a\u8d8a\u9ad8\u3002<\/p>\n<p>2\u5f53\u6211\u4eec\u628a<strong>SSL\u8bc1\u4e66<\/strong>\u6210\u529f\u7684\u5b89\u88c5\u5230\u4e86\u670d\u52a1\u5668\u540e\uff0c\u5e76\u4e0d\u4ee3\u8868\u6211\u4eec\u8bbf\u95ee\u7f51\u7ad9\u4f1a\u81ea\u52a8\u663e\u793a\u5b89\u5168\u3002\u8fd9\u662f\u56e0\u4e3a\u7f51\u7ad9\u8bbf\u95ee\u7684\u9ed8\u8ba4\u94fe\u63a5\u662fhttp\u94fe\u63a5\uff0c\u800cSSL\u8bc1\u4e66\u662f\u9700\u8981\u548chttps\u94fe\u63a5\u6765\u914d\u5408\u4f7f\u7528\u7684\u3002\u6240\u4ee5\u8fd8\u9700\u8981\u5728\u7f51\u7ad9\u4e2d\u5c06\u94fe\u63a5\u4fee\u6539\u4e3ahttps.<\/p>\n<p>\u5728<a href=\"https:\/\/cn.hostease.com\/blog\/website\/wzaq\/758.html\">WordPress\u7f51\u7ad9<\/a>\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8fdb\u5165\u5230\u7f51\u7ad9\u540e\u53f0\u6765\u76f4\u63a5\u4fee\u6539https\u94fe\u63a5\u3002\u8fdb\u5165WordPress\u540e\u53f0\uff0c\u8bbe\u7f6e\uff0c\u5c06WordPress Address(URL)\u548cSite Address(URL)\u5168\u90e8\u4fee\u6539\u6210https\u5373\u53ef\u3002<\/p>\n<p>\u6216\u8005\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539.htaccess\u6587\u4ef6\u6765\u5b9e\u73b0\u8df3\u8f6c\u3002\u901a\u8fc7\u63a7\u5236\u9762\u677f\u6216\u8005FTP\u6765\u5728\u7f51\u7ad9\u6587\u4ef6\u76ee\u5f55\u4e2d\u627e\u5230.htraccess\u6587\u4ef6\uff0c\u5c06\u4ee5\u4e0b\u4ee3\u7801\u6dfb\u52a0\u5230\u8be5\u6587\u4ef6\u7684\u6700\u4e0a\u65b9\uff1a<\/p>\n<p>RewriteEngine On<\/p>\n<p>RewriteCond %{SERVER_PORT} 80<\/p>\n<p>RewriteRule ^(.*)$ https:\/\/www.domain.com\/$1 [R,L]<\/p>\n<p>\u8bf7\u6ce8\u610f\uff0c\u5c06\u6700\u540e\u4e00\u884c\u7684 www.domain.com\u4fee\u6539\u6210\u81ea\u5df1\u7f51\u7ad9\u7684\u57df\u540d\u5373\u53ef\uff0c\u7136\u540e\u5237\u65b0\u4e00\u4e0b\u9875\u9762\u5373\u53ef\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u7f51\u7ad9\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230https,\u5e76\u663e\u793a\u5b89\u5168\u3002\u66f4\u591a\u76f8\u5173\u5185\u5bb9\u53ef\u4ee5\u8bbf\u95eeHostease<a href=\"https:\/\/cn.hostease.com\/dedicated-servers.html\">\u7f8e\u56fd\u670d\u52a1\u5668<\/a>\u5b98\u7f51\uff0c\u63a8\u8350\u9605\u8bfb<a href=\"https:\/\/cn.hostease.com\/blog\/server\/644.html\">\u00a0SSL\u4e0eTLS\u5728\u4e92\u8054\u7f51\u4e0a\u6709\u54ea\u4e9b\u4f5c\u7528<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4e86\u4fdd\u8bc1\u7f51\u7ad9\u7684\u6570\u636e\u5b89\u5168\uff0c\u7f51\u7ad9\u62e5\u6709\u8005\u60f3\u51fa\u4e86\u5f88\u591a\u529e\u6cd5\u6765\u4fdd\u62a4\u81ea\u5df1\u7684\u7f51\u7ad9\uff0c\u4f8b\u5982\u5b89\u88c5\u5b89\u5168\u63d2\u4ef6\uff0c\u4f7f\u7528\u5f3a\u5bc6\u7801\u7b49\u3002\u5b89\u88c5SSL\u8bc1 &#8230; <a title=\"\u5982\u4f55\u7ed9WordPress\u7ad9\u70b9\u5b89\u88c5\u5e76\u542f\u7528SSL\u8bc1\u4e66\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/blog\/website\/website-security\/%e5%a6%82%e4%bd%95%e7%bb%99wordpress%e7%ab%99%e7%82%b9%e5%ae%89%e8%a3%85%e5%b9%b6%e5%90%af%e7%94%a8ssl%e8%af%81%e4%b9%a6\/\" aria-label=\"\u9605\u8bfb \u5982\u4f55\u7ed9WordPress\u7ad9\u70b9\u5b89\u88c5\u5e76\u542f\u7528SSL\u8bc1\u4e66\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11],"tags":[162],"class_list":["post-887","post","type-post","status-publish","format-standard","hentry","category-website-security","tag-ssl"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/comments?post=887"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/887\/revisions"}],"predecessor-version":[{"id":888,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/887\/revisions\/888"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/media?parent=887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/categories?post=887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/blog\/wp-json\/wp\/v2\/tags?post=887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}