\u7533\u8bf7 ssl\u8bc1\u4e66<\/a>\u8fdb\u884c\u7533\u8bf7\u3002<\/p>\n3. \u7533\u8bf7\u8bc1\u4e66<\/p>\n
\u4f7f\u7528Certbot\u7533\u8bf7\u8bc1\u4e66\u975e\u5e38\u7b80\u5355\u3002\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
“`<\/p>\n
sudo certbot certonly –manual<\/p>\n
“`<\/p>\n
\u63a5\u4e0b\u6765\uff0c\u6309\u7167\u63d0\u793a\u8f93\u5165\u81ea\u5df1\u7684\u57df\u540d\u3002\u7136\u540e\uff0cCertbot\u5c06\u8981\u6c42\u60a8\u5728\u7f51\u7ad9\u4e0a\u653e\u7f6e\u4e00\u4e2a\u6587\u4ef6\u3002\u6309\u7167\u6307\u793a\u5c06\u6587\u4ef6\u4e0a\u4f20\u5230\u7f51\u7ad9\u540e\uff0c\u8fd4\u56de\u547d\u4ee4\u884c\u5e76\u6309Enter\u952e\u7ee7\u7eed\u3002Certbot\u5c06\u9a8c\u8bc1\u60a8\u7684\u57df\u540d\u5e76\u9881\u53d1\u8bc1\u4e66\u3002<\/p>\n
4. \u5b89\u88c5\u8bc1\u4e66<\/p>\n
\u8bc1\u4e66\u7533\u8bf7\u6210\u529f\u540e\uff0cCertbot\u5c06\u8bc1\u4e66\u6587\u4ef6\u5b58\u50a8\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u3002\u63a5\u4e0b\u6765\uff0c\u9700\u8981\u5c06\u8bc1\u4e66\u6587\u4ef6\u5b89\u88c5\u5230Web\u670d\u52a1\u5668\u4e0a\u3002\u5177\u4f53\u5b89\u88c5\u65b9\u6cd5\u53d6\u51b3\u4e8e\u60a8\u7684Web\u670d\u52a1\u5668\u3002\u5982\u679c\u4f7f\u7528Apache\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u5b89\u88c5\u8bc1\u4e66\uff1a<\/p>\n
– \u5c06\u8bc1\u4e66\u6587\u4ef6\u590d\u5236\u5230\/etc\/letsencrypt\/live\/\u76ee\u5f55\u4e2d\u3002<\/p>\n
– \u5728Apache\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff1a<\/p>\n
“`<\/p>\n
SSLCertificateFile \/etc\/letsencrypt\/live\/example.com\/fullchain.pem<\/p>\n
SSLCertificateKeyFile \/etc\/letsencrypt\/live\/example.com\/privkey.pem<\/p>\n
“`<\/p>\n
– \u91cd\u65b0\u542f\u52a8Apache\u670d\u52a1\u5668\u3002<\/p>\n
5. \u9a8c\u8bc1\u8bc1\u4e66<\/p>\n
\u5b89\u88c5\u8bc1\u4e66\u540e\uff0c\u9700\u8981\u9a8c\u8bc1\u8bc1\u4e66\u662f\u5426\u6709\u6548\u3002\u53ef\u4ee5\u4f7f\u7528\u5728\u7ebfSSL\u68c0\u67e5\u5de5\u5177\u68c0\u67e5\u8bc1\u4e66\u662f\u5426\u88ab\u6b63\u786e\u5b89\u88c5\u5e76\u4e14\u662f\u5426\u6709\u6548\u3002<\/p>\n
\u603b\u7ed3<\/p>\n
\u4ee5\u4e0a\u5c31\u662f\u4f7f\u7528Let’s Encrypt\u7533\u8bf7\u514d\u8d39SSL\u8bc1\u4e66\u7684\u8be6\u7ec6\u4ecb\u7ecd\u3002SSL\u8bc1\u4e66\u53ef\u4ee5\u4e3a\u7f51\u7ad9\u63d0\u4f9b\u5b89\u5168\u4fdd\u969c\u548c\u53ef\u4fe1\u5ea6\uff0c\u8ba9\u7528\u6237\u653e\u5fc3\u5730\u5728\u7f51\u7ad9\u4e0a\u8fdb\u884c\u4ea4\u6613\u6216\u8f93\u5165\u654f\u611f\u4fe1\u606f\u3002\u540c\u65f6\uff0c\u4f7f\u7528\u514d\u8d39\u7684\u8bc1\u4e66\u4e5f\u53ef\u4ee5\u8282\u7701\u6210\u672c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
SSL\u8bc1\u4e66\u662f\u4e00\u79cd\u6570\u5b57\u8bc1\u4e66\uff0c\u7528\u4e8e\u786e\u4fdd\u5728\u4e92\u8054\u7f51\u4e0a\u8fdb\u884c\u7684\u6570\u636e\u4f20\u8f93\u662f\u5b89\u5168\u7684\u3002\u5b83\u901a\u8fc7\u52a0\u5bc6\u6280\u672f\u4fdd\u62a4\u6570\u636e\uff0c\u9632\u6b62\u9ed1\u5ba2\u7a83\u53d6\u6216\u7be1\u6539\u6570\u636e\u3002SSL\u8bc1\u4e66\u53ef\u4ee5\u4e3a\u7f51\u7ad9\u63d0\u4f9b\u53ef\u4fe1\u5ea6\u548c\u5b89\u5168\u6027\uff0c\u4f7f\u7528\u6237\u53ef\u4ee5\u653e\u5fc3\u5730\u5728\u7f51\u7ad9\u4e0a\u8fdb\u884c\u4ea4\u6613\u6216\u8f93\u5165\u654f\u611f<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[19259,241,19260,194,138],"topic":[],"class_list":["post-15141","post","type-post","status-publish","format-standard","hentry","category-sslzhengshu","tag-iphttps","tag-241","tag-https","tag-194","tag-138"],"_links":{"self":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/posts\/15141","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\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/comments?post=15141"}],"version-history":[{"count":1,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/posts\/15141\/revisions"}],"predecessor-version":[{"id":15223,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/posts\/15141\/revisions\/15223"}],"wp:attachment":[{"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/media?parent=15141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/categories?post=15141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/tags?post=15141"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.zhidianwl.net\/zhidianwl\/wp-json\/wp\/v2\/topic?post=15141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}