https\u8bc1\u4e66\u5982\u4f55\u751f\u6210<\/a>\u4ee4\u7533\u8bf7\u8bc1\u4e66\u3002\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n“`<\/p>\n
sudo certbot certonly –standalone<\/p>\n
“`<\/p>\n
\u8be5\u547d\u4ee4\u5c06\u542f\u52a8Certbot\u7684\u4ea4\u4e92\u5f0f\u754c\u9762\uff0c\u8ba9\u60a8\u8f93\u5165\u6709\u5173\u60a8\u7684\u7f51\u7ad9\u7684\u4fe1\u606f\u3002\u4f8b\u5982\uff0c\u60a8\u9700\u8981\u8f93\u5165\u60a8\u7684\u57df\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u7b49\u4fe1\u606f\u3002<\/p>\n
3. \u5b89\u88c5\u8bc1\u4e66\u3002\u8bc1\u4e66\u7533\u8bf7\u6210\u529f\u540e\uff0cCertbot\u4f1a\u5c06\u8bc1\u4e66\u6587\u4ef6\u4fdd\u5b58\u5728\/etc\/letsencrypt\/live\/yourdomain.com\/\u76ee\u5f55\u4e2d\u3002\u60a8\u9700\u8981\u5c06\u8bc1\u4e66\u6587\u4ef6\u590d\u5236\u5230\u60a8\u7684\u670d\u52a1\u5668\u4e0a\uff0c\u5e76\u5728\u60a8\u7684Web\u670d\u52a1\u5668\u914d\u7f6e\u6587\u4ef6\u4e2d\u6307\u5b9a\u8bc1\u4e66\u7684\u8def\u5f84\u3002<\/p>\n
\uff08\u4e8c\uff09\u7533\u8bf7Cloudflare SSL\u8bc1\u4e66<\/p>\n
Cloudflare\u662f\u4e00\u5bb6\u63d0\u4f9bCDN\u548c\u5b89\u5168\u670d\u52a1\u7684\u516c\u53f8\uff0c\u5176\u514d\u8d39SSL\u8bc1\u4e66\u652f\u6301IP SSL\u8bc1\u4e66\u7533\u8bf7\u3002\u4ee5\u4e0b\u662f\u7533\u8bf7Cloudflare SSL\u8bc1\u4e66\u7684\u6b65\u9aa4\uff1a<\/p>\n
1. \u521b\u5efaCloudflare\u8d26\u6237\u3002\u5728Cloudflare\u5b98\u7f51\u4e0a\u521b\u5efa\u4e00\u4e2a\u514d\u8d39\u8d26\u6237\u3002<\/p>\n
2. \u6dfb\u52a0\u7f51\u7ad9\u3002\u5728Cloudflare\u63a7\u5236\u53f0\u4e2d\u6dfb\u52a0\u60a8\u7684\u7f51\u7ad9\uff0c\u5e76\u6309\u7167\u63d0\u793a\u5b8c\u6210DNS\u8bbe\u7f6e\u3002<\/p>\n
3. \u542f\u7528SSL\u3002\u5728Cloudflare\u63a7\u5236\u53f0\u4e2d\uff0c\u8f6c\u5230SSL\/TLS\u9009\u9879\u5361\uff0c\u5e76\u5c06SSL\u8bbe\u7f6e\u4e3a\u201cFlexible\u201d\u3002\u8fd9\u5c06\u4e3a\u60a8\u7684\u7f51\u7ad9\u542f\u7528\u514d\u8d39\u7684SSL\u8bc1\u4e66\u3002<\/p>\n
4. \u914d\u7f6eWeb\u670d\u52a1\u5668\u3002\u5c06\u60a8\u7684Web\u670d\u52a1\u5668\u914d\u7f6e\u4e3a<\/p>\n
<\/figure>\n<\/p>\n\u4f7f\u7528HTTPS\u534f\u8bae\uff0c\u5e76\u5728\u60a8\u7684Web\u670d\u52a1\u5668\u914d\u7f6e\u6587\u4ef6\u4e2d\u6307\u5b9aCloudflare\u8bc1\u4e66\u7684\u8def\u5f84\u3002<\/p>\n
\u603b\u4e4b\uff0c\u7533\u8bf7\u514d\u8d39\u7684IP SSL\u8bc1\u4e66\u5e76\u4e0d\u56f0\u96be\uff0c\u53ea\u9700\u6309\u7167\u4e0a\u8ff0\u6b65\u9aa4\u64cd\u4f5c\u5373\u53ef\u3002\u4f46\u662f\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u514d\u8d39\u7684SSL\u8bc1\u4e66\u53ef\u80fd\u5b58\u5728\u4e00\u4e9b\u9650\u5236\uff0c\u5982\u8bc1\u4e66\u6709\u6548\u671f\u8f83\u77ed\u3001\u4e0d\u652f\u6301\u6240\u6709\u6d4f\u89c8\u5668\u7b49\u3002\u56e0\u6b64\uff0c\u5728\u9009\u62e9SSL\u8bc1\u4e66\u65f6\uff0c\u9700\u8981\u6839\u636e\u5b9e\u9645\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u8bc1\u4e66\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
SSL\u8bc1\u4e66\u662f\u4e00\u79cd\u6570\u5b57\u8bc1\u4e66\uff0c\u7528\u4e8e\u52a0\u5bc6\u5728\u7f51\u7ad9\u548c\u7528\u6237\u4e4b\u95f4\u4f20\u8f93\u7684\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u4fdd\u62a4\u7528\u6237\u7684\u4e2a\u4eba\u4fe1\u606f\u548c\u4fe1\u7528\u5361\u4fe1\u606f\u7b49\u654f\u611f\u6570\u636e\uff0c\u9632\u6b62\u88ab\u9ed1\u5ba2\u7a83\u53d6\u3002\u5728\u73b0\u4eca\u4e92\u8054\u7f51\u73af\u5883\u4e2d\uff0c\u5b89\u5168\u95ee\u9898\u8d8a\u6765\u8d8a\u53d7\u5230\u5173\u6ce8\uff0c\u56e0\u6b64\u4f7f\u7528SSL\u8bc1\u4e66\u5df2\u6210\u4e3a\u8bb8\u591a<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[3479,514,241,194,138],"topic":[],"class_list":{"0":"post-1597","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-sslzhengshu","7":"tag-https","9":"tag-241","10":"tag-194","11":"tag-138"},"_links":{"self":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/posts\/1597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/comments?post=1597"}],"version-history":[{"count":0,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/posts\/1597\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/media?parent=1597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/categories?post=1597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/tags?post=1597"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/topic?post=1597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}