{"id":102563,"date":"2026-09-09T07:33:11","date_gmt":"2026-09-08T23:33:11","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/102563.html"},"modified":"2026-09-09T07:33:11","modified_gmt":"2026-09-08T23:33:11","slug":"lets-encrypt-%e8%af%81%e4%b9%a6%e5%88%b0%e5%ba%95%e4%bc%9a%e4%b8%8d%e4%bc%9a%e8%87%aa%e5%8a%a8%e7%bb%ad%e6%9c%9f%ef%bc%9f%e4%bb%8e%e4%b8%80%e6%ac%a1%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/102563.html","title":{"rendered":"Let\u2018s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f\uff1f\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77"},"content":{"rendered":"<h2>Let\u2019s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f&#xff1f;\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77<\/h2>\n<p>\u505a\u670d\u52a1\u5668\u8fc1\u79fb\u7684\u65f6\u5019&#xff0c;\u6211\u4eec\u901a\u5e38\u6700\u5173\u5fc3\u7684\u662f\u5e94\u7528\u80fd\u4e0d\u80fd\u542f\u52a8\u3001\u6570\u636e\u5e93\u80fd\u4e0d\u80fd\u8fde\u4e0a\u3001Nginx \u8f6c\u53d1\u662f\u5426\u6b63\u5e38\u3001DNS \u6709\u6ca1\u6709\u5207\u8fc7\u53bb\u3002<\/p>\n<p>SSL \u8bc1\u4e66\u53cd\u800c\u5f88\u5bb9\u6613\u88ab\u5ffd\u7565\u3002<\/p>\n<p>\u539f\u56e0\u4e5f\u5f88\u7b80\u5355&#xff1a;\u8fc1\u79fb\u5b8c\u6210\u4ee5\u540e\u6253\u5f00\u7f51\u7ad9&#xff0c;\u6d4f\u89c8\u5668\u663e\u793a HTTPS \u6b63\u5e38&#xff0c;\u8bc1\u4e66\u8fd8\u6709\u51e0\u5341\u5929\u624d\u8fc7\u671f&#xff0c;\u770b\u8d77\u6765\u4f3c\u4e4e\u6ca1\u4ec0\u4e48\u95ee\u9898\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260908233309-6aa09b355e73b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4f46\u771f\u6b63\u5bb9\u6613\u51fa\u95ee\u9898\u7684&#xff0c;\u5f80\u5f80\u4e0d\u662f\u201c\u73b0\u5728\u8bc1\u4e66\u80fd\u4e0d\u80fd\u7528\u201d&#xff0c;\u800c\u662f&#xff1a;<\/p>\n<p>\u4e24\u4e2a\u6708\u4ee5\u540e&#xff0c;\u8fd9\u5f20\u8bc1\u4e66\u8fd8\u80fd\u4e0d\u80fd\u81ea\u52a8\u7eed\u4e0a&#xff1f;<\/p>\n<p>\u6700\u8fd1\u6574\u7406\u4e00\u6279\u8fc1\u79fb\u540e\u7684\u670d\u52a1\u5668\u65f6&#xff0c;\u5c31\u78b0\u5230\u4e86\u4e00\u4e2a\u5f88\u5178\u578b\u7684\u573a\u666f&#xff1a;\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e86\u4e0d\u5c11 Let\u2019s Encrypt \u8bc1\u4e66&#xff0c;\u6709\u4e9b\u57df\u540d\u5df2\u7ecf\u8fc1\u79fb\u5230\u4e86\u5176\u4ed6\u670d\u52a1\u5668&#xff0c;\u6709\u4e9b\u57df\u540d\u8fd8\u5728\u5f53\u524d\u670d\u52a1\u5668\u8fd0\u884c&#xff0c;\u8fd8\u6709\u4e00\u4e9b\u8bc1\u4e66\u751a\u81f3\u5df2\u7ecf\u8fc7\u671f\u3002<\/p>\n<p>\u8868\u9762\u4e0a HTTPS \u90fd\u6ca1\u6709\u660e\u663e\u95ee\u9898&#xff0c;\u4f46\u6267\u884c\u4e00\u6b21&#xff1a;<\/p>\n<p>certbot renew &#8211;dry-run<\/p>\n<p>\u624d\u53d1\u73b0\u4e00\u90e8\u5206\u6210\u529f\u3001\u4e00\u90e8\u5206\u5931\u8d25\u3002<\/p>\n<p>\u8fd9\u7bc7\u6587\u7ae0\u5c31\u4ece\u8fd9\u4e2a\u573a\u666f\u51fa\u53d1&#xff0c;\u628a Let\u2019s Encrypt\u3001Certbot\u3001\u81ea\u52a8\u7eed\u671f\u3001Nginx\u3001\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u5386\u53f2\u8bc1\u4e66&#xff0c;\u4ee5\u53ca\u7b2c\u4e09\u65b9\u8bc1\u4e66\u4ee3\u7406\u670d\u52a1\u4e4b\u95f4\u7684\u5173\u7cfb\u4e00\u6b21\u8bb2\u6e05\u695a\u3002<\/p>\n<p>\u4e3a\u4e86\u907f\u514d\u6d89\u53ca\u771f\u5b9e\u4e1a\u52a1\u4fe1\u606f&#xff0c;\u672c\u6587\u6240\u6709\u57df\u540d\u3001IP\u3001\u670d\u52a1\u5668\u540d\u79f0\u5747\u4f7f\u7528 Demo \u6570\u636e\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001Let\u2019s Encrypt \u8bc1\u4e66\u4e3a\u4ec0\u4e48\u53ea\u6709\u51e0\u5341\u5929\u6709\u6548\u671f&#xff1f;<\/h3>\n<p>\u5047\u8bbe\u6211\u4eec\u8bbf\u95ee&#xff1a;<\/p>\n<p>https:\/\/agent.demo.com<\/p>\n<p>\u67e5\u770b\u8bc1\u4e66\u4fe1\u606f\u53d1\u73b0&#xff1a;<\/p>\n<p>\u9881\u53d1\u673a\u6784&#xff1a;Let&#039;s Encrypt<br \/>\n\u7b7e\u53d1\u65f6\u95f4&#xff1a;2026-07-21<br \/>\n\u5230\u671f\u65f6\u95f4&#xff1a;2026-10-19<\/p>\n<p>\u7b2c\u4e00\u53cd\u5e94\u53ef\u80fd\u662f&#xff1a;<\/p>\n<p>\u4e3a\u4ec0\u4e48\u8bc1\u4e66\u6709\u6548\u671f\u8fd9\u4e48\u77ed&#xff1f;\u4ee5\u540e\u662f\u4e0d\u662f\u6bcf\u9694\u51e0\u4e2a\u6708\u90fd\u8981\u624b\u5de5\u7eed&#xff1f;<\/p>\n<p>\u5176\u5b9e\u4e0d\u662f\u3002<\/p>\n<p>Let\u2019s Encrypt \u672c\u8eab\u5c31\u662f\u56f4\u7ed5\u81ea\u52a8\u5316\u8bc1\u4e66\u7ba1\u7406\u8bbe\u8ba1\u7684\u3002<\/p>\n<p>\u5178\u578b\u67b6\u6784\u662f&#xff1a;<\/p>\n<p>Let&#039;s Encrypt<br \/>\n      \u2502<br \/>\n      \u2502 ACME<br \/>\n      \u2193<br \/>\n   Certbot<br \/>\n      \u2502<br \/>\n      \u2193<br \/>\n\u7533\u8bf7 \/ \u9a8c\u8bc1 \/ \u7eed\u671f<br \/>\n      \u2502<br \/>\n      \u2193<br \/>\n\/etc\/letsencrypt\/live\/<br \/>\n      \u2502<br \/>\n      \u2193<br \/>\n    Nginx<\/p>\n<p>\u670d\u52a1\u5668\u4e0a\u5b89\u88c5 Certbot \u540e&#xff0c;\u7531 Certbot \u548c Let\u2019s Encrypt \u8fdb\u884c ACME \u901a\u4fe1\u3002<\/p>\n<p>\u7b2c\u4e00\u6b21\u7533\u8bf7\u8bc1\u4e66\u53ef\u80fd\u6267\u884c&#xff1a;<\/p>\n<p>certbot <span class=\"token parameter variable\">&#8211;nginx<\/span> <span class=\"token parameter variable\">-d<\/span> agent.demo.com<\/p>\n<p>\u7533\u8bf7\u6210\u529f\u4ee5\u540e&#xff0c;\u8bc1\u4e66\u901a\u5e38\u4fdd\u5b58\u5728&#xff1a;<\/p>\n<p>\/etc\/letsencrypt\/live\/agent.demo.com\/fullchain.pem<br \/>\n\/etc\/letsencrypt\/live\/agent.demo.com\/privkey.pem<\/p>\n<p>Nginx \u518d\u5f15\u7528&#xff1a;<\/p>\n<p>ssl_certificate \/etc\/letsencrypt\/live\/agent.demo.com\/fullchain.pem;<br \/>\nssl_certificate_key \/etc\/letsencrypt\/live\/agent.demo.com\/privkey.pem;<\/p>\n<p>\u540e\u7eed\u5e76\u4e0d\u9700\u8981\u7ba1\u7406\u5458\u6bcf\u9694\u51e0\u4e2a\u6708\u91cd\u65b0\u6267\u884c\u4e00\u904d\u7533\u8bf7\u547d\u4ee4\u3002<\/p>\n<p>\u6b63\u5e38\u60c5\u51b5\u4e0b Certbot \u4f1a\u81ea\u52a8\u7eed\u671f\u3002<\/p>\n<hr \/>\n<h2>\u4e8c\u3001\u600e\u4e48\u770b\u670d\u52a1\u5668\u5230\u5e95\u6709\u6ca1\u6709\u914d\u7f6e\u81ea\u52a8\u7eed\u671f&#xff1f;<\/h2>\n<p>\u53ea\u770b\u6d4f\u89c8\u5668\u91cc\u7684\u8bc1\u4e66\u4fe1\u606f&#xff0c;\u662f\u65e0\u6cd5\u5224\u65ad\u670d\u52a1\u5668\u6709\u6ca1\u6709\u914d\u7f6e\u81ea\u52a8\u7eed\u671f\u7684\u3002<\/p>\n<p>\u56e0\u4e3a\u6d4f\u89c8\u5668\u53ea\u80fd\u544a\u8bc9\u6211\u4eec&#xff1a;<\/p>\n<p>\u5f53\u524d\u8bc1\u4e66&#xff1a;<br \/>\n\u6709\u6548<\/p>\n<p>\u5374\u65e0\u6cd5\u544a\u8bc9\u6211\u4eec&#xff1a;<\/p>\n<p>\u672a\u6765\u8bc1\u4e66&#xff1a;<br \/>\n\u80fd\u4e0d\u80fd\u7eed<\/p>\n<p>\u771f\u6b63\u5e94\u8be5\u767b\u5f55\u670d\u52a1\u5668\u68c0\u67e5\u3002<\/p>\n<p>\u9996\u5148&#xff1a;<\/p>\n<p>certbot certificates<\/p>\n<p>\u4f1a\u770b\u5230\u7c7b\u4f3c&#xff1a;<\/p>\n<p>Certificate Name: agent.demo.com<br \/>\nDomains: agent.demo.com agentadmin.demo.com<br \/>\nExpiry Date: 2026-10-19<br \/>\nCertificate Path: \/etc\/letsencrypt\/live\/agent.demo.com\/fullchain.pem<br \/>\nPrivate Key Path: \/etc\/letsencrypt\/live\/agent.demo.com\/privkey.pem<\/p>\n<p>\u8fd9\u8bf4\u660e\u8bc1\u4e66\u5df2\u7ecf\u88ab Certbot \u7ba1\u7406\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u67e5\u770b\u81ea\u52a8\u4efb\u52a1&#xff1a;<\/p>\n<p>systemctl list-timers <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> certbot<\/p>\n<p>\u4e0d\u540c Linux \u53d1\u884c\u7248\u6216\u8005\u4e0d\u540c Certbot \u5b89\u88c5\u65b9\u5f0f&#xff0c;Timer \u540d\u5b57\u4e0d\u4e00\u5b9a\u5b8c\u5168\u4e00\u6837\u3002<\/p>\n<p>\u53ef\u80fd\u662f&#xff1a;<\/p>\n<p>certbot.timer<\/p>\n<p>\u4e5f\u53ef\u80fd\u662f&#xff1a;<\/p>\n<p>certbot-renew.timer<\/p>\n<p>\u6240\u4ee5\u5982\u679c&#xff1a;<\/p>\n<p>systemctl status certbot.timer<\/p>\n<p>\u8fd4\u56de&#xff1a;<\/p>\n<p>Unit certbot.timer could not be found.<\/p>\n<p>\u5148\u522b\u6025\u7740\u8ba4\u4e3a\u81ea\u52a8\u7eed\u671f\u574f\u4e86\u3002<\/p>\n<p>\u5e94\u8be5\u5148&#xff1a;<\/p>\n<p>systemctl list-timers <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> certbot<\/p>\n<p>\u786e\u8ba4\u5b9e\u9645\u8fd0\u884c\u7684 Timer\u3002<\/p>\n<p>\u4f8b\u5982\u770b\u5230&#xff1a;<\/p>\n<p>certbot-renew.timer    certbot-renew.service<\/p>\n<p>\u8bf4\u660e\u7cfb\u7edf\u5b9e\u9645\u4e0a\u5df2\u7ecf\u5b58\u5728 Certbot \u5b9a\u65f6\u7eed\u671f\u4efb\u52a1\u3002<\/p>\n<hr \/>\n<h2>\u4e09\u3001\u5224\u65ad\u81ea\u52a8\u7eed\u671f\u662f\u5426\u6b63\u5e38&#xff0c;\u6700\u91cd\u8981\u7684\u662f\u8fd9\u6761\u547d\u4ee4<\/h2>\n<p>\u76f8\u6bd4\u5355\u7eaf\u68c0\u67e5 Timer&#xff0c;\u6211\u66f4\u63a8\u8350&#xff1a;<\/p>\n<p>certbot renew &#8211;dry-run<\/p>\n<p>\u8fd9\u6761\u547d\u4ee4\u975e\u5e38\u91cd\u8981\u3002<\/p>\n<p>\u5b83\u4e0d\u662f\u7b80\u5355\u68c0\u67e5\u914d\u7f6e\u6587\u4ef6&#xff0c;\u800c\u662f\u6a21\u62df\u4e00\u6b21\u771f\u6b63\u7684\u7eed\u671f\u6d41\u7a0b\u3002<\/p>\n<p>\u5982\u679c\u8f93\u51fa\u7c7b\u4f3c&#xff1a;<\/p>\n<p>The following simulated renewals succeeded:<\/p>\n<p>\/etc\/letsencrypt\/live\/agent.demo.com\/fullchain.pem (success)<br \/>\n\/etc\/letsencrypt\/live\/api.demo.com\/fullchain.pem (success)<\/p>\n<p>\u57fa\u672c\u5c31\u53ef\u4ee5\u786e\u5b9a&#xff1a;<\/p>\n<p>Certbot \u914d\u7f6e\u6b63\u5e38<br \/>\n        &#043;<br \/>\n\u57df\u540d\u9a8c\u8bc1\u6b63\u5e38<br \/>\n        &#043;<br \/>\nLet&#039;s Encrypt \u53ef\u4ee5\u9a8c\u8bc1<br \/>\n        &#043;<br \/>\n\u7eed\u671f\u6d41\u7a0b\u6b63\u5e38<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4&#xff1a;<\/p>\n<p>\u8fd9\u5f20\u8bc1\u4e66\u672a\u6765\u5177\u5907\u6b63\u5e38\u81ea\u52a8\u7eed\u671f\u7684\u6761\u4ef6\u3002<\/p>\n<p>\u53cd\u8fc7\u6765&#xff0c;\u5982\u679c\u770b\u5230&#xff1a;<\/p>\n<p>The following simulated renewals failed:<\/p>\n<p>\/etc\/letsencrypt\/live\/old.demo.com\/fullchain.pem (failure)<\/p>\n<p>\u5c31\u9700\u8981\u7ee7\u7eed\u8c03\u67e5\u3002<\/p>\n<hr \/>\n<h2>\u56db\u3001\u4e3a\u4ec0\u4e48\u8bc1\u4e66\u73b0\u5728\u6b63\u5e38&#xff0c;\u81ea\u52a8\u7eed\u671f\u5374\u5931\u8d25&#xff1f;<\/h2>\n<p>\u8fd9\u662f\u6574\u4e2a\u95ee\u9898\u91cc\u6700\u5bb9\u6613\u8ba9\u4eba\u4ea7\u751f\u8bef\u89e3\u7684\u5730\u65b9\u3002<\/p>\n<p>\u5047\u8bbe&#xff1a;<\/p>\n<p>api.demo.com<\/p>\n<p>\u5f53\u524d HTTPS \u5b8c\u5168\u6b63\u5e38\u3002<\/p>\n<p>\u8bc1\u4e66\u8fd8\u6709 40 \u5929\u624d\u8fc7\u671f\u3002<\/p>\n<p>\u4f46\u662f\u6267\u884c&#xff1a;<\/p>\n<p>certbot renew &#8211;dry-run<\/p>\n<p>\u5374\u51fa\u73b0&#xff1a;<\/p>\n<p>Type: unauthorized<\/p>\n<p>Invalid response from:<\/p>\n<p>http:\/\/api.demo.com\/.well-known\/acme-challenge\/xxxx<\/p>\n<p>404<\/p>\n<p>\u8fd9\u5e76\u4e0d\u77db\u76fe\u3002<\/p>\n<p>\u56e0\u4e3a\u201c\u4f7f\u7528\u65e7\u8bc1\u4e66\u201d\u548c\u201c\u7533\u8bf7\u65b0\u8bc1\u4e66\u201d\u662f\u4e24\u4ef6\u4e8b\u60c5\u3002<\/p>\n<p>\u5f53\u524d HTTPS \u4f7f\u7528\u7684\u662f\u5df2\u7ecf\u5b58\u5728\u670d\u52a1\u5668\u4e0a\u7684&#xff1a;<\/p>\n<p>fullchain.pem<br \/>\nprivkey.pem<\/p>\n<p>\u6240\u4ee5\u53ea\u8981\u8fd9\u4e24\u4e2a\u6587\u4ef6\u6ca1\u6709\u8fc7\u671f&#xff0c;\u7f51\u7ad9\u5c31\u53ef\u4ee5\u6b63\u5e38\u63d0\u4f9b HTTPS\u3002<\/p>\n<p>\u4f46\u662f\u7eed\u671f\u7684\u65f6\u5019&#xff0c;Let\u2019s Encrypt \u9700\u8981\u91cd\u65b0\u786e\u8ba4&#xff1a;<\/p>\n<p>\u4f60\u73b0\u5728\u662f\u5426\u4f9d\u7136\u62e5\u6709\u8fd9\u4e2a\u57df\u540d\u7684\u63a7\u5236\u6743&#xff1f;<\/p>\n<p>\u4e8e\u662f\u4f1a\u8fdb\u884c ACME Challenge\u3002<\/p>\n<hr \/>\n<h2>\u4e94\u3001HTTP-01 Challenge \u5230\u5e95\u5728\u5e72\u4ec0\u4e48&#xff1f;<\/h2>\n<p>\u53ef\u4ee5\u628a\u5b83\u7406\u89e3\u6210\u4e00\u6b21\u201c\u57df\u540d\u6240\u6709\u6743\u8003\u8bd5\u201d\u3002<\/p>\n<p>Certbot \u544a\u8bc9 Let\u2019s Encrypt&#xff1a;<\/p>\n<p>\u6211\u8981\u7ed9 api.demo.com \u7eed\u8bc1\u4e66\u3002<\/p>\n<p>Let\u2019s Encrypt \u4f1a\u8981\u6c42&#xff1a;<\/p>\n<p>\u8bf7\u8bc1\u660e\u4f60\u63a7\u5236 api.demo.com\u3002<\/p>\n<p>Certbot \u4e34\u65f6\u51c6\u5907\u4e00\u4e2a\u9a8c\u8bc1\u6587\u4ef6&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>\/.well-known\/acme-challenge\/abc123<\/p>\n<p>\u7136\u540e Let\u2019s Encrypt \u4ece\u516c\u7f51\u8bbf\u95ee&#xff1a;<\/p>\n<p>http:\/\/api.demo.com\/.well-known\/acme-challenge\/abc123<\/p>\n<p>\u5982\u679c\u80fd\u591f\u8bfb\u53d6\u5230\u6b63\u786e\u5185\u5bb9&#xff1a;<\/p>\n<p>\u9a8c\u8bc1\u6210\u529f<br \/>\n\u2193<br \/>\n\u7b7e\u53d1\u65b0\u8bc1\u4e66<\/p>\n<p>\u5982\u679c\u5f97\u5230&#xff1a;<\/p>\n<p>404<\/p>\n<p>\u6216\u8005\u8fd4\u56de\u4e86\u7f51\u7ad9\u9996\u9875 HTML&#xff1a;<\/p>\n<p><span class=\"token doctype\"><span class=\"token punctuation\">&lt;!<\/span><span class=\"token doctype-tag\">doctype<\/span> <span class=\"token name\">html<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>html<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n&#8230;<\/p>\n<p>\u90a3\u4e48 Let\u2019s Encrypt \u4f1a\u8ba4\u4e3a&#xff1a;<\/p>\n<p>\u6211\u6ca1\u6709\u62ff\u5230\u671f\u671b\u7684\u9a8c\u8bc1\u6587\u4ef6<br \/>\n\u2193<br \/>\n\u65e0\u6cd5\u8bc1\u660e\u670d\u52a1\u5668\u63a7\u5236\u8fd9\u4e2a\u57df\u540d<br \/>\n\u2193<br \/>\n\u62d2\u7edd\u7b7e\u53d1<\/p>\n<p>\u6700\u7ec8\u5c31\u662f&#xff1a;<\/p>\n<p>unauthorized<\/p>\n<hr \/>\n<h2>\u516d\u3001\u670d\u52a1\u5668\u8fc1\u79fb\u4e3a\u4ec0\u4e48\u7279\u522b\u5bb9\u6613\u5bfc\u81f4\u7eed\u671f\u5931\u8d25&#xff1f;<\/h2>\n<p>\u8fd9\u6b21\u6392\u67e5\u6700\u5178\u578b\u7684\u95ee\u9898\u5176\u5b9e\u4e0d\u662f Certbot&#xff0c;\u800c\u662f\u670d\u52a1\u5668\u8fc1\u79fb\u7559\u4e0b\u6765\u7684\u5386\u53f2\u72b6\u6001\u3002<\/p>\n<p>\u4f8b\u5982\u6700\u5f00\u59cb&#xff1a;<\/p>\n<p>api.demo.com<br \/>\n      \u2193<br \/>\nDNS<br \/>\n      \u2193<br \/>\n\u670d\u52a1\u5668 A<\/p>\n<p>\u670d\u52a1\u5668 A \u4e0a\u6709&#xff1a;<\/p>\n<p>Nginx<br \/>\nCertbot<br \/>\n\u8bc1\u4e66<br \/>\nrenewal \u914d\u7f6e<\/p>\n<p>\u540e\u6765\u505a\u4e86\u8fc1\u79fb&#xff1a;<\/p>\n<p>api.demo.com<br \/>\n      \u2193<br \/>\nDNS<br \/>\n      \u2193<br \/>\n\u670d\u52a1\u5668 B<\/p>\n<p>\u4f46\u662f\u670d\u52a1\u5668 A \u6ca1\u6709\u6e05\u7406\u3002<\/p>\n<p>\u4e8e\u662f\u5f62\u6210&#xff1a;<\/p>\n<p>\u670d\u52a1\u5668 A<br \/>\n\u251c\u2500\u2500 Nginx \u914d\u7f6e\u8fd8\u5728<br \/>\n\u251c\u2500\u2500 SSL \u8bc1\u4e66\u8fd8\u5728<br \/>\n\u251c\u2500\u2500 Certbot renewal \u914d\u7f6e\u8fd8\u5728<br \/>\n\u2514\u2500\u2500 \u81ea\u52a8\u7eed\u671f Timer \u8fd8\u5728<\/p>\n<p>\u670d\u52a1\u5668 B<br \/>\n\u251c\u2500\u2500 \u65b0 Nginx<br \/>\n\u251c\u2500\u2500 \u65b0\u8bc1\u4e66<br \/>\n\u2514\u2500\u2500 \u65b0 Certbot<\/p>\n<p>\u670d\u52a1\u5668 A \u4e0a\u7684 Certbot \u5e76\u4e0d\u77e5\u9053&#xff1a;<\/p>\n<p>\u201c\u4e1a\u52a1\u5df2\u7ecf\u8fc1\u79fb\u8d70\u4e86\u3002\u201d<\/p>\n<p>\u5b83\u53ea\u80fd\u770b\u5230&#xff1a;<\/p>\n<p>\/etc\/letsencrypt\/renewal\/api.demo.com.conf<\/p>\n<p>\u4e8e\u662f\u8ba4\u4e3a&#xff1a;<\/p>\n<p>\u201c\u8fd9\u662f\u6211\u8981\u7ba1\u7406\u7684\u8bc1\u4e66\u3002\u201d<\/p>\n<p>\u5230\u4e86\u7eed\u671f\u65f6\u95f4\u7ee7\u7eed\u6267\u884c&#xff1a;<\/p>\n<p>\u670d\u52a1\u5668 A Certbot<br \/>\n      \u2193<br \/>\n\u8bf7\u6c42\u7eed\u671f api.demo.com<br \/>\n      \u2193<br \/>\nLet&#039;s Encrypt<br \/>\n      \u2193<br \/>\n\u8bbf\u95ee api.demo.com<br \/>\n      \u2193<br \/>\nDNS \u6307\u5411\u670d\u52a1\u5668 B<br \/>\n      \u2193<br \/>\nChallenge \u6587\u4ef6\u4e0d\u5728\u670d\u52a1\u5668 B<br \/>\n      \u2193<br \/>\n404<br \/>\n      \u2193<br \/>\n\u7eed\u671f\u5931\u8d25<\/p>\n<p>\u4e8e\u662f\u65e5\u5fd7\u91cc\u5f00\u59cb\u4e0d\u65ad\u51fa\u73b0&#xff1a;<\/p>\n<p>unauthorized<br \/>\n404<br \/>\nchallenge failed<br \/>\nrenew failure<\/p>\n<p>\u5b9e\u9645\u4e0a\u4e1a\u52a1\u53ef\u80fd\u4e00\u70b9\u95ee\u9898\u90fd\u6ca1\u6709\u3002<\/p>\n<hr \/>\n<h2>\u4e03\u3001\u540c\u4e00\u4e2a\u57df\u540d&#xff0c;\u4e24\u53f0\u670d\u52a1\u5668\u90fd\u5b58\u5728\u8bc1\u4e66\u600e\u4e48\u529e&#xff1f;<\/h2>\n<p>\u8fd9\u4e5f\u662f\u8fc1\u79fb\u4ee5\u540e\u975e\u5e38\u5e38\u89c1\u7684\u73b0\u8c61\u3002<\/p>\n<p>\u4f8b\u5982\u670d\u52a1\u5668 A&#xff1a;<\/p>\n<p>certbot certificates<\/p>\n<p>\u5b58\u5728&#xff1a;<\/p>\n<p>api.demo.com<\/p>\n<p>\u670d\u52a1\u5668 B&#xff1a;<\/p>\n<p>certbot certificates<\/p>\n<p>\u5c45\u7136\u4e5f\u5b58\u5728&#xff1a;<\/p>\n<p>api.demo.com<\/p>\n<p>\u4e24\u53f0\u670d\u52a1\u5668\u540c\u65f6\u4fdd\u5b58\u540c\u4e00\u4e2a\u57df\u540d\u7684\u8bc1\u4e66\u6587\u4ef6&#xff0c;\u672c\u8eab\u4e0d\u4e00\u5b9a\u9a6c\u4e0a\u9020\u6210\u4e8b\u6545\u3002<\/p>\n<p>\u771f\u6b63\u7684\u95ee\u9898\u662f&#xff1a;<\/p>\n<p>\u5230\u5e95\u5e94\u8be5\u7531\u8c01\u8d1f\u8d23\u7eed\u671f&#xff1f;<\/p>\n<p>\u5047\u8bbe DNS&#xff1a;<\/p>\n<p>api.demo.com<br \/>\n      \u2193<br \/>\n\u670d\u52a1\u5668 B<\/p>\n<p>\u90a3\u4e48\u4f7f\u7528 HTTP-01 \u9a8c\u8bc1\u65f6&#xff0c;\u4e00\u822c\u5e94\u8be5\u7531\u670d\u52a1\u5668 B \u8d1f\u8d23\u7eed\u671f\u3002<\/p>\n<p>\u7406\u60f3\u72b6\u6001\u5e94\u8be5\u662f&#xff1a;<\/p>\n<p>api.demo.com<br \/>\n      \u2193<br \/>\n\u670d\u52a1\u5668 B<br \/>\n      \u2193<br \/>\nCertbot<br \/>\n      \u2193<br \/>\n\u81ea\u52a8\u7eed\u671f<\/p>\n<p>\u800c\u4e0d\u662f&#xff1a;<\/p>\n<p>               \u250c\u2192 \u670d\u52a1\u5668 A Certbot<br \/>\napi.demo.com \u2500\u2500\u2524<br \/>\n               \u2514\u2192 \u670d\u52a1\u5668 B Certbot<\/p>\n<p>\u5426\u5219\u540e\u671f\u6392\u67e5\u95ee\u9898\u4f1a\u8d8a\u6765\u8d8a\u4e71\u3002<\/p>\n<hr \/>\n<h2>\u516b\u3001\u5386\u53f2\u8bc1\u4e66\u8981\u4e0d\u8981\u5220\u9664&#xff1f;<\/h2>\n<p>\u7b54\u6848\u662f&#xff1a;<\/p>\n<p>\u5efa\u8bae\u6700\u7ec8\u6e05\u7406&#xff0c;\u4f46\u4e0d\u7528\u770b\u5230\u5386\u53f2\u8bc1\u4e66\u5c31\u7acb\u523b\u5220\u9664\u3002<\/p>\n<p>\u6bd4\u5982\u670d\u52a1\u5668\u8fc1\u79fb\u4ee5\u540e\u53d1\u73b0&#xff1a;<\/p>\n<p>ai.old-demo.com<br \/>\napi.old-demo.com<br \/>\nadmin.old-demo.com<\/p>\n<p>\u5df2\u7ecf\u5b8c\u5168\u4e0d\u5c5e\u4e8e\u5f53\u524d\u670d\u52a1\u5668\u3002<\/p>\n<p>\u7406\u8bba\u4e0a\u5f53\u7136\u5e94\u8be5\u6e05\u6389\u3002<\/p>\n<p>\u4f46\u662f\u5343\u4e07\u4e0d\u8981\u76f4\u63a5&#xff1a;<\/p>\n<p><span class=\"token function\">rm<\/span> <span class=\"token parameter variable\">-rf<\/span> \/etc\/letsencrypt\/live\/xxx<\/p>\n<p>Certbot \u7684\u8bc1\u4e66\u76ee\u5f55\u4e4b\u95f4\u5b58\u5728\u5173\u8054\u5173\u7cfb&#xff0c;\u624b\u5de5\u5220\u9664\u5f88\u5bb9\u6613\u628a Certbot \u72b6\u6001\u5f04\u4e71\u3002<\/p>\n<p>\u6b63\u786e\u65b9\u5f0f\u662f&#xff1a;<\/p>\n<p>certbot delete &#8211;cert-name ai.old-demo.com<\/p>\n<p>\u4f46\u5728\u6267\u884c\u4e4b\u524d\u8fd8\u6709\u4e00\u4e2a\u66f4\u91cd\u8981\u7684\u68c0\u67e5&#xff1a;<\/p>\n<p>nginx <span class=\"token parameter variable\">-T<\/span> <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-E<\/span> <span class=\"token string\">&#034;server_name|ssl_certificate&#034;<\/span><\/p>\n<p>\u56e0\u4e3a\u5f88\u53ef\u80fd\u51fa\u73b0&#xff1a;<\/p>\n<p>server_name ai.old-demo.com;<\/p>\n<p>ssl_certificate \/etc\/letsencrypt\/live\/ai.old-demo.com\/fullchain.pem;<br \/>\nssl_certificate_key \/etc\/letsencrypt\/live\/ai.old-demo.com\/privkey.pem;<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4&#xff1a;<\/p>\n<p>\u4e1a\u52a1\u867d\u7136\u8fc1\u8d70\u4e86&#xff0c;\u4f46\u65e7 Nginx \u914d\u7f6e\u8fd8\u5728\u5f15\u7528\u8bc1\u4e66\u3002<\/p>\n<p>\u8fd9\u65f6\u5019\u76f4\u63a5&#xff1a;<\/p>\n<p>certbot delete &#8211;cert-name ai.old-demo.com<\/p>\n<p>\u53ef\u80fd\u5bfc\u81f4\u8bc1\u4e66\u6587\u4ef6\u6d88\u5931\u3002<\/p>\n<p>\u5f53\u524d\u5df2\u7ecf\u542f\u52a8\u7684 Nginx \u8fdb\u7a0b\u672a\u5fc5\u9a6c\u4e0a\u51fa\u95ee\u9898&#xff0c;\u4f46\u4e0b\u4e00\u6b21&#xff1a;<\/p>\n<p>nginx <span class=\"token parameter variable\">-t<\/span><\/p>\n<p>\u6216\u8005&#xff1a;<\/p>\n<p>systemctl restart nginx<\/p>\n<p>\u5c31\u53ef\u80fd\u56e0\u4e3a\u627e\u4e0d\u5230\u8bc1\u4e66\u6587\u4ef6\u76f4\u63a5\u62a5\u9519\u3002<\/p>\n<p>\u6240\u4ee5\u6b63\u786e\u6e05\u7406\u987a\u5e8f\u5e94\u8be5\u662f&#xff1a;<\/p>\n<p>\u786e\u8ba4\u57df\u540d\u5df2\u7ecf\u8fc1\u79fb<br \/>\n        \u2193<br \/>\n\u786e\u8ba4 DNS \u4e0d\u518d\u6307\u5411\u65e7\u670d\u52a1\u5668<br \/>\n        \u2193<br \/>\n\u5220\u9664\/\u7981\u7528\u65e7 Nginx Server \u914d\u7f6e<br \/>\n        \u2193<br \/>\nnginx -t<br \/>\n        \u2193<br \/>\nreload nginx<br \/>\n        \u2193<br \/>\n\u786e\u8ba4\u670d\u52a1\u6b63\u5e38<br \/>\n        \u2193<br \/>\ncertbot delete<br \/>\n        \u2193<br \/>\ncertbot renew &#8211;dry-run<\/p>\n<p>\u8fd9\u4e2a\u987a\u5e8f\u975e\u5e38\u91cd\u8981\u3002<\/p>\n<hr \/>\n<h2>\u4e5d\u3001\u5386\u53f2\u8bc1\u4e66\u6682\u65f6\u4e0d\u5220\u9664\u884c\u4e0d\u884c&#xff1f;<\/h2>\n<p>\u53ef\u4ee5\u3002<\/p>\n<p>\u5982\u679c\u5f53\u524d\u670d\u52a1\u5668\u4e0a\u8fd8\u6709\u4e00\u4e9b\u5df2\u7ecf\u8fc1\u8d70\u7684\u8bc1\u4e66&#xff1a;<\/p>\n<p>ai.demo-a.com<br \/>\nai.demo-b.com<br \/>\nai.demo-c.com<\/p>\n<p>\u6682\u65f6\u4fdd\u7559\u901a\u5e38\u4e0d\u4f1a\u76f4\u63a5\u5f71\u54cd\u6b63\u5728\u8fd0\u884c\u7684\u7f51\u7ad9\u3002<\/p>\n<p>\u6700\u5927\u7684\u526f\u4f5c\u7528\u662f&#xff1a;<\/p>\n<p>certbot renew<\/p>\n<p>\u4f1a\u7ee7\u7eed\u5c1d\u8bd5\u7eed\u8fd9\u4e9b\u8bc1\u4e66\u3002<\/p>\n<p>\u4e8e\u662f\u6700\u540e\u53ef\u80fd\u770b\u5230&#xff1a;<\/p>\n<p>success<br \/>\nsuccess<br \/>\nfailure<br \/>\nfailure<br \/>\nfailure<\/p>\n<p>\u8fd9\u91cc\u8fd8\u6709\u4e00\u4e2a\u503c\u5f97\u6ce8\u610f\u7684\u5730\u65b9&#xff1a;<\/p>\n<p>\u90e8\u5206\u8bc1\u4e66\u7eed\u671f\u5931\u8d25&#xff0c;\u5e76\u4e0d\u610f\u5473\u7740\u6240\u6709\u8bc1\u4e66\u90fd\u4f1a\u7eed\u671f\u5931\u8d25\u3002<\/p>\n<p>Certbot \u4f1a\u5206\u522b\u5904\u7406\u4e0d\u540c\u8bc1\u4e66\u3002<\/p>\n<p>\u6240\u4ee5\u53ef\u80fd\u51fa\u73b0&#xff1a;<\/p>\n<p>Certificate A    success<br \/>\nCertificate B    success<br \/>\nCertificate C    failure<br \/>\nCertificate D    failure<\/p>\n<p>A\u3001B \u4ecd\u7136\u53ef\u4ee5\u6b63\u5e38\u7eed\u3002<\/p>\n<p>\u95ee\u9898\u4e3b\u8981\u662f\u65e5\u5fd7\u4f1a\u8d8a\u6765\u8d8a\u4e71\u3002<\/p>\n<p>\u771f\u6b63\u9700\u8981\u7eed\u671f\u7684\u8bc1\u4e66\u5982\u679c\u67d0\u4e00\u5929\u4e5f\u5931\u8d25\u4e86&#xff0c;\u5f88\u5bb9\u6613\u6df9\u6ca1\u5728\u5927\u91cf\u5386\u53f2\u5931\u8d25\u65e5\u5fd7\u91cc\u9762\u3002<\/p>\n<p>\u6240\u4ee5\u77ed\u671f&#xff1a;<\/p>\n<p>\u53ef\u4ee5\u4e0d\u5220\u3002<\/p>\n<p>\u957f\u671f&#xff1a;<\/p>\n<p>\u5efa\u8bae\u6e05\u7406\u3002<\/p>\n<hr \/>\n<h2>\u5341\u3001\u4e00\u4e2a Certificate Name \u53ef\u80fd\u5bf9\u5e94\u591a\u4e2a\u57df\u540d<\/h2>\n<p>\u8fd9\u662f\u6e05\u7406\u65f6\u53e6\u4e00\u4e2a\u975e\u5e38\u5bb9\u6613\u8e29\u5751\u7684\u5730\u65b9\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>Certificate Name: ai.demo.com<\/p>\n<p>Domains:<br \/>\nai.demo.com<br \/>\naicontrol.demo.com<br \/>\napis.demo.com<\/p>\n<p>\u8fd9\u5b9e\u9645\u4e0a\u662f\u4e00\u5f20 SAN \u591a\u57df\u540d\u8bc1\u4e66\u3002<\/p>\n<p>\u6267\u884c&#xff1a;<\/p>\n<p>certbot delete &#8211;cert-name ai.demo.com<\/p>\n<p>\u5220\u9664\u7684\u662f\u6574\u5f20\u8bc1\u4e66\u3002<\/p>\n<p>\u4e0d\u662f\u53ea\u5220\u9664&#xff1a;<\/p>\n<p>ai.demo.com<\/p>\n<p>\u800c\u4fdd\u7559&#xff1a;<\/p>\n<p>aicontrol.demo.com<br \/>\napis.demo.com<\/p>\n<p>\u56e0\u6b64\u5220\u9664\u4e4b\u524d\u5fc5\u987b\u770b&#xff1a;<\/p>\n<p>certbot certificates<\/p>\n<p>\u786e\u8ba4&#xff1a;<\/p>\n<p>Certificate Name<br \/>\nDomains<\/p>\n<p>\u8fd9\u4e24\u4e2a\u5b57\u6bb5\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e00\u3001\u8fc1\u79fb\u540e\u6700\u5371\u9669\u7684\u4e0d\u662f\u201c\u6ca1\u7528\u7684\u8bc1\u4e66\u201d&#xff0c;\u800c\u662f\u201c\u9700\u8981\u7684\u8bc1\u4e66\u7eed\u4e0d\u4e0a\u201d<\/h2>\n<p>\u5386\u53f2\u8bc1\u4e66\u7eed\u671f\u5931\u8d25&#xff0c;\u5176\u5b9e\u8fd8\u4e0d\u662f\u6700\u5371\u9669\u7684\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>old.demo.com<\/p>\n<p>\u4e1a\u52a1\u65e9\u5c31\u8fc1\u8d70\u4e86\u3002<\/p>\n<p>\u5b83&#xff1a;<\/p>\n<p>renew failure<\/p>\n<p>\u95ee\u9898\u4e0d\u5927\u3002<\/p>\n<p>\u771f\u6b63\u5e94\u8be5\u4f18\u5148\u5173\u6ce8\u7684\u662f&#xff1a;<\/p>\n<p>api.demo.com<\/p>\n<p>\u4e1a\u52a1\u73b0\u5728\u8fd8\u8dd1\u5728\u8fd9\u53f0\u670d\u52a1\u5668\u3002<\/p>\n<p>\u4f46\u662f&#xff1a;<\/p>\n<p>certbot renew &#8211;dry-run<\/p>\n<p>\u5931\u8d25\u4e86\u3002<\/p>\n<p>\u8fd9\u79cd\u60c5\u51b5\u610f\u5473\u7740&#xff1a;<\/p>\n<p>\u73b0\u5728&#xff1a;<br \/>\nHTTPS \u6b63\u5e38<\/p>\n<p>30 \u5929\u540e&#xff1a;<br \/>\n\u53ef\u80fd\u6b63\u5e38<\/p>\n<p>60 \u5929\u540e&#xff1a;<br \/>\n\u8bc1\u4e66\u53ef\u80fd\u8fc7\u671f<\/p>\n<p>\u67d0\u4e00\u5929&#xff1a;<br \/>\n\u6d4f\u89c8\u5668\u5f00\u59cb\u62a5\u8bc1\u4e66\u9519\u8bef<br \/>\nAPI \u5ba2\u6237\u7aef TLS \u63e1\u624b\u5931\u8d25<\/p>\n<p>\u6240\u4ee5\u68c0\u67e5 Certbot \u65f6&#xff0c;\u5e94\u8be5\u628a\u8bc1\u4e66\u5206\u6210\u4e09\u7c7b&#xff1a;<\/p>\n<table>\n<tr>\u7c7b\u578b\u5f53\u524d\u72b6\u6001\u5904\u7406\u4f18\u5148\u7ea7<\/tr>\n<tbody>\n<tr>\n<td>\u6b63\u5728\u4f7f\u7528 &#043; dry-run \u6210\u529f<\/td>\n<td>\u6b63\u5e38<\/td>\n<td align=\"right\">\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>\u5df2\u8fc1\u79fb &#043; dry-run \u5931\u8d25<\/td>\n<td>\u5386\u53f2\u5783\u573e<\/td>\n<td align=\"right\">\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>\u6b63\u5728\u4f7f\u7528 &#043; dry-run \u5931\u8d25<\/td>\n<td>\u6f5c\u5728\u4e8b\u6545<\/td>\n<td align=\"right\">\u6700\u9ad8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fd9\u4e2a\u5206\u7c7b\u6bd4\u5355\u7eaf\u770b\u5230&#xff1a;<\/p>\n<p>5 renew failure(s)<\/p>\n<p>\u5c31\u5f00\u59cb\u7d27\u5f20&#xff0c;\u66f4\u6709\u610f\u4e49\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e8c\u3001\u7b2c\u4e09\u65b9\u201c\u8bc1\u4e66\u53d1\u653e\u4ee3\u7406\u673a\u6784\u201d\u8ddf Certbot \u6709\u4ec0\u4e48\u533a\u522b&#xff1f;<\/h2>\n<p>\u6392\u67e5\u5230\u8fd9\u91cc&#xff0c;\u53c8\u5f15\u51fa\u4e86\u53e6\u4e00\u4e2a\u95ee\u9898&#xff1a;<\/p>\n<p>\u4e3a\u4ec0\u4e48\u4e0d\u76f4\u63a5\u627e\u7b2c\u4e09\u65b9\u8bc1\u4e66\u670d\u52a1\u5546&#xff1f;\u8ba9\u4ed6\u4eec\u8d1f\u8d23\u8bc1\u4e66\u4e0d\u5c31\u597d\u4e86&#xff1f;<\/p>\n<p>\u8fd9\u9700\u8981\u5148\u533a\u5206\u51e0\u4e2a\u89d2\u8272\u3002<\/p>\n<p>Let\u2019s Encrypt \u672c\u8eab\u5c5e\u4e8e CA\u3002<\/p>\n<p>Certbot \u662f ACME \u5ba2\u6237\u7aef\u3002<\/p>\n<p>\u4f60\u5f53\u524d\u7684\u6a21\u5f0f\u53ef\u4ee5\u7406\u89e3\u6210&#xff1a;<\/p>\n<p>Let&#039;s Encrypt<br \/>\n      \u2193<br \/>\n   Certbot<br \/>\n      \u2193<br \/>\n\u4f60\u7684\u670d\u52a1\u5668<br \/>\n      \u2193<br \/>\n    Nginx<\/p>\n<p>\u800c\u7b2c\u4e09\u65b9\u8bc1\u4e66\u4ee3\u7406\/\u6258\u7ba1\u5e73\u53f0\u901a\u5e38\u662f&#xff1a;<\/p>\n<p>\u4f60<br \/>\n \u2193<br \/>\n\u7b2c\u4e09\u65b9\u8bc1\u4e66\u7ba1\u7406\u5e73\u53f0<br \/>\n \u2193<br \/>\nCA<br \/>\n \u2193<br \/>\n\u7533\u8bf7 \/ \u6258\u7ba1 \/ \u7eed\u671f \/ \u4e0b\u53d1<br \/>\n \u2193<br \/>\n\u670d\u52a1\u5668 \/ CDN \/ LB<\/p>\n<p>\u6240\u4ee5\u4e24\u8005\u6700\u5927\u7684\u533a\u522b\u5e76\u4e0d\u662f&#xff1a;<\/p>\n<p>\u8c01\u7684 HTTPS \u66f4\u5b89\u5168&#xff1f;<\/p>\n<p>\u800c\u662f&#xff1a;<\/p>\n<p>\u8c01\u8d1f\u8d23\u8bc1\u4e66\u751f\u547d\u5468\u671f\u7ba1\u7406\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e09\u3001Let\u2019s Encrypt &#043; Certbot \u7684\u4f18\u52bf<\/h2>\n<p>\u5bf9\u4e8e\u666e\u901a\u670d\u52a1\u5668&#xff0c;\u6211\u4e2a\u4eba\u4ecd\u7136\u5f88\u559c\u6b22\u8fd9\u5957\u65b9\u6848\u3002<\/p>\n<p>\u7b2c\u4e00&#xff0c;\u6210\u672c\u4f4e\u3002<\/p>\n<p>Let\u2019s Encrypt \u514d\u8d39&#xff0c;\u5bf9\u5927\u91cf\u666e\u901a HTTPS \u7f51\u7ad9\u3001\u540e\u53f0\u3001API \u670d\u52a1\u6765\u8bf4\u975e\u5e38\u5408\u9002\u3002<\/p>\n<p>\u7b2c\u4e8c&#xff0c;\u81ea\u52a8\u5316\u7a0b\u5ea6\u5f88\u9ad8\u3002<\/p>\n<p>\u6b63\u5e38\u60c5\u51b5\u4e0b&#xff1a;<\/p>\n<p>certbot renew<\/p>\n<p>\u5c31\u53ef\u4ee5\u7edf\u4e00\u5904\u7406\u3002<\/p>\n<p>\u518d\u914d\u5408&#xff1a;<\/p>\n<p>systemd timer<\/p>\n<p>\u57fa\u672c\u53ef\u4ee5\u505a\u5230\u65e0\u4eba\u503c\u5b88\u3002<\/p>\n<p>\u7b2c\u4e09&#xff0c;\u548c Nginx \u96c6\u6210\u65b9\u4fbf\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>certbot <span class=\"token parameter variable\">&#8211;nginx<\/span> <span class=\"token parameter variable\">-d<\/span> api.demo.com<\/p>\n<p>Certbot \u53ef\u4ee5\u76f4\u63a5\u534f\u52a9\u5b8c\u6210\u9a8c\u8bc1\u548c\u90e8\u7f72\u3002<\/p>\n<p>\u7b2c\u56db&#xff0c;\u63a7\u5236\u6743\u9ad8\u3002<\/p>\n<p>\u8bc1\u4e66\u6587\u4ef6\u3001\u79c1\u94a5\u3001\u7eed\u671f\u914d\u7f6e\u90fd\u638c\u63e1\u5728\u81ea\u5df1\u7684\u670d\u52a1\u5668\u73af\u5883\u91cc\u3002<\/p>\n<p>\u7b2c\u4e94&#xff0c;\u5382\u5546\u7ed1\u5b9a\u6bd4\u8f83\u5f31\u3002<\/p>\n<p>\u6362\u670d\u52a1\u5668\u3001\u6362\u4e91\u5382\u5546\u90fd\u53ef\u4ee5\u7ee7\u7eed\u4f7f\u7528 ACME \u4f53\u7cfb\u3002<\/p>\n<hr \/>\n<h2>\u5341\u56db\u3001Let\u2019s Encrypt &#043; Certbot \u7684\u7f3a\u70b9\u4e5f\u5f88\u660e\u663e<\/h2>\n<p>\u6700\u5927\u7684\u95ee\u9898\u5c31\u662f&#xff1a;<\/p>\n<p>\u4f60\u81ea\u5df1\u5c31\u662f\u8bc1\u4e66\u8fd0\u7ef4\u4eba\u5458\u3002<\/p>\n<p>DNS \u6539\u4e86&#xff0c;\u4f60\u8981\u77e5\u9053\u3002<\/p>\n<p>Nginx \u6539\u4e86&#xff0c;\u4f60\u8981\u77e5\u9053\u3002<\/p>\n<p>\u670d\u52a1\u5668\u8fc1\u79fb\u4e86&#xff0c;\u4f60\u8981\u5904\u7406 Certbot\u3002<\/p>\n<p>Challenge \u88ab\u4ee3\u7406\u5c42\u62e6\u622a\u4e86&#xff0c;\u4f60\u8981\u81ea\u5df1\u6392\u67e5\u3002<\/p>\n<p>\u8bc1\u4e66\u7eed\u671f\u5931\u8d25\u4e86&#xff0c;\u4e5f\u9700\u8981\u81ea\u5df1\u53d1\u73b0\u3002<\/p>\n<p>\u5f53\u73af\u5883\u53ea\u6709&#xff1a;<\/p>\n<p>2 \u53f0\u670d\u52a1\u5668<br \/>\n10 \u4e2a\u57df\u540d<\/p>\n<p>\u95ee\u9898\u4e0d\u5927\u3002<\/p>\n<p>\u5982\u679c\u53d8\u6210&#xff1a;<\/p>\n<p>50 \u53f0\u670d\u52a1\u5668<br \/>\n300 \u4e2a\u57df\u540d<br \/>\n\u591a\u4e2a K8s \u96c6\u7fa4<br \/>\n\u591a\u4e2a CDN<br \/>\n\u591a\u4e2a\u8d1f\u8f7d\u5747\u8861\u5668<br \/>\n\u591a\u4e2a\u4e91\u5382\u5546<\/p>\n<p>\u7ee7\u7eed\u8ba9\u6bcf\u53f0\u670d\u52a1\u5668\u5404\u81ea\u8dd1 Certbot&#xff0c;\u7ba1\u7406\u590d\u6742\u5ea6\u4f1a\u8fc5\u901f\u4e0a\u5347\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e94\u3001\u7b2c\u4e09\u65b9\u8bc1\u4e66\u6258\u7ba1\u5e73\u53f0\u7684\u771f\u6b63\u4f18\u52bf\u662f\u4ec0\u4e48&#xff1f;<\/h2>\n<p>\u7b2c\u4e09\u65b9\u5e73\u53f0\u6700\u5927\u7684\u4ef7\u503c\u901a\u5e38\u4e0d\u662f&#xff1a;<\/p>\n<p>\u201c\u6211\u4eec\u7684\u8bc1\u4e66\u52a0\u5bc6\u80fd\u529b\u6bd4 Let\u2019s Encrypt \u5f3a\u3002\u201d<\/p>\n<p>\u800c\u662f&#xff1a;<\/p>\n<p>\u7edf\u4e00\u7ba1\u7406\u3002<\/p>\n<p>\u7406\u60f3\u60c5\u51b5\u4e0b&#xff1a;<\/p>\n<p>                 \u7edf\u4e00\u8bc1\u4e66\u7ba1\u7406\u5e73\u53f0<br \/>\n                        \u2502<br \/>\n         \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n         \u2193              \u2193              \u2193<br \/>\n      Nginx          K8s Ingress      CDN\/LB<br \/>\n         \u2193              \u2193              \u2193<br \/>\n     Server A         Cluster A       Cloud<\/p>\n<p>\u5e73\u53f0\u7edf\u4e00\u5b8c\u6210&#xff1a;<\/p>\n<p>\u7533\u8bf7<br \/>\n\u2193<br \/>\n\u57df\u540d\u9a8c\u8bc1<br \/>\n\u2193<br \/>\n\u7b7e\u53d1<br \/>\n\u2193<br \/>\n\u90e8\u7f72<br \/>\n\u2193<br \/>\n\u7eed\u671f<br \/>\n\u2193<br \/>\n\u91cd\u65b0\u90e8\u7f72<br \/>\n\u2193<br \/>\n\u5230\u671f\u76d1\u63a7<br \/>\n\u2193<br \/>\n\u5931\u8d25\u544a\u8b66<\/p>\n<p>\u5bf9\u4e8e\u5927\u578b\u73af\u5883&#xff0c;\u8fd9\u4e2a\u4f18\u52bf\u975e\u5e38\u660e\u663e\u3002<\/p>\n<hr \/>\n<h2>\u5341\u516d\u3001\u6536\u8d39\u8bc1\u4e66\u662f\u4e0d\u662f\u4e00\u5b9a\u6bd4\u514d\u8d39\u8bc1\u4e66\u5b89\u5168&#xff1f;<\/h2>\n<p>\u8fd9\u4e2a\u95ee\u9898\u4e5f\u7ecf\u5e38\u88ab\u8bef\u89e3\u3002<\/p>\n<p>\u5f88\u591a\u4eba\u770b\u5230&#xff1a;<\/p>\n<p>\u514d\u8d39 SSL<\/p>\n<p>\u4e0b\u610f\u8bc6\u89c9\u5f97&#xff1a;<\/p>\n<p>\u5b89\u5168\u6027\u4e00\u822c<\/p>\n<p>\u770b\u5230&#xff1a;<\/p>\n<p>\u51e0\u5343\u5143 SSL<\/p>\n<p>\u5c31\u89c9\u5f97&#xff1a;<\/p>\n<p>\u52a0\u5bc6\u80af\u5b9a\u66f4\u5f3a<\/p>\n<p>\u5b9e\u9645\u4e0a\u4e0d\u80fd\u8fd9\u4e48\u7b80\u5355\u7406\u89e3\u3002<\/p>\n<p>HTTPS \u7684\u5b89\u5168\u6027\u6d89\u53ca&#xff1a;<\/p>\n<p>TLS \u534f\u8bae\u7248\u672c<br \/>\n\u5bc6\u94a5\u7c7b\u578b<br \/>\n\u5bc6\u94a5\u957f\u5ea6<br \/>\n\u5bc6\u7801\u5957\u4ef6<br \/>\n\u670d\u52a1\u5668\u914d\u7f6e<br \/>\n\u79c1\u94a5\u4fdd\u62a4<br \/>\n\u5ba2\u6237\u7aef\u517c\u5bb9\u6027<br \/>\n\u8bc1\u4e66\u9a8c\u8bc1<\/p>\n<p>\u800c\u4e0d\u662f\u7b80\u5355\u7531&#xff1a;<\/p>\n<p>\u8bc1\u4e66\u4ef7\u683c<\/p>\n<p>\u51b3\u5b9a\u3002<\/p>\n<p>\u5bf9\u4e8e\u666e\u901a&#xff1a;<\/p>\n<p>https:\/\/api.demo.com<\/p>\n<p>Let\u2019s Encrypt \u63d0\u4f9b\u7684 DV \u8bc1\u4e66\u5728\u5f88\u591a\u4e1a\u52a1\u573a\u666f\u5df2\u7ecf\u5b8c\u5168\u591f\u7528\u3002<\/p>\n<p>\u5546\u4e1a CA \u7684\u4ef7\u503c\u66f4\u591a\u53ef\u80fd\u4f53\u73b0\u5728&#xff1a;<\/p>\n<p>\u4f01\u4e1a\u7ea7\u8bc1\u4e66\u7ba1\u7406<br \/>\n\u7ec4\u7ec7\u9a8c\u8bc1<br \/>\n\u5546\u4e1a\u652f\u6301<br \/>\nSLA<br \/>\n\u5ba1\u8ba1\u8981\u6c42<br \/>\n\u96c6\u4e2d\u7ba1\u7406<br \/>\n\u7279\u5b9a\u517c\u5bb9\u6027<\/p>\n<p>\u6240\u4ee5\u4e0d\u80fd\u7b80\u5355\u603b\u7ed3\u6210&#xff1a;<\/p>\n<p>\u514d\u8d39 &#061; \u4e0d\u5b89\u5168<br \/>\n\u6536\u8d39 &#061; \u66f4\u5b89\u5168<\/p>\n<p>\u8fd9\u79cd\u7406\u89e3\u662f\u4e0d\u51c6\u786e\u7684\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e03\u3001\u4ec0\u4e48\u65f6\u5019\u503c\u5f97\u4ece Certbot \u5347\u7ea7\u5230\u7edf\u4e00\u8bc1\u4e66\u5e73\u53f0&#xff1f;<\/h2>\n<p>\u5982\u679c\u73af\u5883\u8fd8\u662f&#xff1a;<\/p>\n<p>\u51e0\u53f0\u670d\u52a1\u5668<br \/>\n\u51e0\u5341\u4e2a\u57df\u540d<br \/>\nNginx \u4e3a\u4e3b<\/p>\n<p>\u6211\u8ba4\u4e3a&#xff1a;<\/p>\n<p>Let&#039;s Encrypt<br \/>\n&#043;<br \/>\nCertbot<br \/>\n&#043;<br \/>\nsystemd timer<br \/>\n&#043;<br \/>\n\u8bc1\u4e66\u76d1\u63a7<\/p>\n<p>\u5df2\u7ecf\u8db3\u591f\u7a33\u5b9a\u3002<\/p>\n<p>\u4f46\u662f\u5982\u679c\u73af\u5883\u9010\u6e10\u53d1\u5c55\u6210&#xff1a;<\/p>\n<p>\u5927\u91cf\u670d\u52a1\u5668<br \/>\n&#043;<br \/>\n\u5927\u91cf\u57df\u540d<br \/>\n&#043;<br \/>\nKubernetes<br \/>\n&#043;<br \/>\nCDN<br \/>\n&#043;<br \/>\nSLB<br \/>\n&#043;<br \/>\n\u591a\u4e91<br \/>\n&#043;<br \/>\n\u9891\u7e41\u8fc1\u79fb<\/p>\n<p>\u5c31\u5e94\u8be5\u8ba4\u771f\u8003\u8651\u7edf\u4e00\u8bc1\u4e66\u7ba1\u7406\u3002<\/p>\n<p>\u56e0\u4e3a\u6b64\u65f6\u6700\u5927\u7684\u95ee\u9898\u5df2\u7ecf\u4e0d\u662f&#xff1a;<\/p>\n<p>\u80fd\u4e0d\u80fd\u7533\u8bf7\u8bc1\u4e66&#xff1f;<\/p>\n<p>\u800c\u662f&#xff1a;<\/p>\n<p>\u6211\u600e\u4e48\u77e5\u9053\u6bcf\u5f20\u8bc1\u4e66\u5728\u54ea\u91cc\u3001\u8c01\u8d1f\u8d23\u7eed\u3001\u4ec0\u4e48\u65f6\u5019\u8fc7\u671f\u3001\u90e8\u7f72\u5230\u4e86\u54ea\u4e9b\u8282\u70b9&#xff1f;<\/p>\n<p>\u8fd9\u5176\u5b9e\u5df2\u7ecf\u4ece\u201cSSL \u914d\u7f6e\u95ee\u9898\u201d\u5347\u7ea7\u6210\u4e86\u201c\u57fa\u7840\u8bbe\u65bd\u8d44\u4ea7\u7ba1\u7406\u95ee\u9898\u201d\u3002<\/p>\n<hr \/>\n<h2>\u5341\u516b\u3001\u6211\u73b0\u5728\u66f4\u63a8\u8350\u7684\u4e00\u5957\u8bc1\u4e66\u7ba1\u7406\u89c4\u8303<\/h2>\n<p>\u7ecf\u5386\u8fd9\u6b21\u6392\u67e5\u4ee5\u540e&#xff0c;\u6211\u8ba4\u4e3a\u81f3\u5c11\u5e94\u8be5\u5efa\u7acb\u4e0b\u9762\u51e0\u4e2a\u57fa\u672c\u89c4\u5219\u3002<\/p>\n<p>\u7b2c\u4e00&#xff0c;\u4e00\u4e2a\u57df\u540d\u660e\u786e\u4e00\u4e2a\u8bc1\u4e66\u7eed\u671f\u8d23\u4efb\u8282\u70b9\u3002<\/p>\n<p>\u4e0d\u8981\u670d\u52a1\u5668 A\u3001B\u3001C \u90fd\u8ba4\u4e3a&#xff1a;<\/p>\n<p>api.demo.com<\/p>\n<p>\u5e94\u8be5\u7531\u81ea\u5df1\u7eed\u3002<\/p>\n<p>\u7b2c\u4e8c&#xff0c;\u6bcf\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u5fc5\u987b\u628a SSL \u653e\u8fdb\u8fc1\u79fb Checklist\u3002<\/p>\n<p>\u4e0d\u80fd\u53ea\u68c0\u67e5&#xff1a;<\/p>\n<p>\u5e94\u7528<br \/>\n\u6570\u636e\u5e93<br \/>\nRedis<br \/>\nMQ<br \/>\nNginx<br \/>\nDNS<\/p>\n<p>\u8fd8\u5e94\u8be5\u68c0\u67e5&#xff1a;<\/p>\n<p>Certbot<br \/>\nSSL<br \/>\nACME<br \/>\nrenewal<\/p>\n<p>\u7b2c\u4e09&#xff0c;\u8fc1\u79fb\u5b8c\u6210\u4ee5\u540e\u5fc5\u987b\u6267\u884c&#xff1a;<\/p>\n<p>certbot renew &#8211;dry-run<\/p>\n<p>\u800c\u4e0d\u662f\u770b\u5230\u6d4f\u89c8\u5668 HTTPS \u6b63\u5e38\u5c31\u5ba3\u5e03\u8fc1\u79fb\u7ed3\u675f\u3002<\/p>\n<p>\u7b2c\u56db&#xff0c;\u65e7\u670d\u52a1\u5668\u53ca\u65f6\u6e05\u7406 Nginx \u548c Certbot \u5386\u53f2\u914d\u7f6e\u3002<\/p>\n<p>\u4f46\u4e00\u5b9a\u9075\u5faa&#xff1a;<\/p>\n<p>Nginx \u5f15\u7528\u89e3\u9664<br \/>\n\u2193<br \/>\nnginx -t<br \/>\n\u2193<br \/>\nreload<br \/>\n\u2193<br \/>\nCertbot delete<\/p>\n<p>\u4e0d\u8981\u53cd\u8fc7\u6765\u3002<\/p>\n<p>\u7b2c\u4e94&#xff0c;\u505a\u8bc1\u4e66\u5230\u671f\u76d1\u63a7\u3002<\/p>\n<p>\u54ea\u6015 Certbot \u5df2\u7ecf\u81ea\u52a8\u7eed\u671f&#xff0c;\u4e5f\u4e0d\u8981\u5b8c\u5168\u76f8\u4fe1&#xff1a;<\/p>\n<p>\u201c\u81ea\u52a8\u5316\u914d\u7f6e\u8fc7&#xff0c;\u6240\u4ee5\u4ee5\u540e\u4e00\u5b9a\u4e0d\u4f1a\u51fa\u95ee\u9898\u3002\u201d<\/p>\n<p>DNS\u3001Nginx\u3001CDN\u3001WAF\u3001\u670d\u52a1\u5668\u3001\u7f51\u7edc\u7b56\u7565\u90fd\u53ef\u80fd\u53d1\u751f\u53d8\u5316\u3002<\/p>\n<p>\u81ea\u52a8\u7eed\u671f\u89e3\u51b3\u7684\u662f&#xff1a;<\/p>\n<p>\u81ea\u52a8\u6267\u884c\u3002<\/p>\n<p>\u76d1\u63a7\u89e3\u51b3\u7684\u662f&#xff1a;<\/p>\n<p>\u81ea\u52a8\u6267\u884c\u5931\u8d25\u4ee5\u540e&#xff0c;\u6709\u6ca1\u6709\u4eba\u77e5\u9053\u3002<\/p>\n<p>\u8fd9\u4e24\u4e2a\u4e1c\u897f\u7f3a\u4e00\u4e0d\u53ef\u3002<\/p>\n<hr \/>\n<h2>\u5341\u4e5d\u3001\u51e0\u4e2a\u975e\u5e38\u5b9e\u7528\u7684 Certbot \u6392\u67e5\u547d\u4ee4<\/h2>\n<p>\u6700\u540e\u6574\u7406\u51e0\u4e2a\u65e5\u5e38\u6700\u5e38\u7528\u7684\u3002<\/p>\n<p>\u67e5\u770b Certbot \u7ba1\u7406\u7684\u6240\u6709\u8bc1\u4e66&#xff1a;<\/p>\n<p>certbot certificates<\/p>\n<p>\u67e5\u770b\u81ea\u52a8\u7eed\u671f\u4efb\u52a1&#xff1a;<\/p>\n<p>systemctl list-timers <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> certbot<\/p>\n<p>\u6a21\u62df\u7eed\u671f&#xff1a;<\/p>\n<p>certbot renew &#8211;dry-run<\/p>\n<p>\u5355\u72ec\u5904\u7406\u67d0\u5f20\u8bc1\u4e66&#xff1a;<\/p>\n<p>certbot renew &#8211;cert-name api.demo.com<\/p>\n<p>\u786e\u8ba4\u9700\u8981\u5f3a\u5236\u91cd\u65b0\u7533\u8bf7\u65f6&#xff1a;<\/p>\n<p>certbot renew &#8211;cert-name api.demo.com &#8211;force-renewal<\/p>\n<p>\u67e5\u770b Nginx \u5f53\u524d\u5230\u5e95\u5f15\u7528\u4e86\u54ea\u4e9b\u8bc1\u4e66&#xff1a;<\/p>\n<p>nginx <span class=\"token parameter variable\">-T<\/span> <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-E<\/span> <span class=\"token string\">&#034;server_name|ssl_certificate&#034;<\/span><\/p>\n<p>\u68c0\u67e5\u67d0\u4e2a\u57df\u540d&#xff1a;<\/p>\n<p>nginx <span class=\"token parameter variable\">-T<\/span> <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-n<\/span> <span class=\"token parameter variable\">-A<\/span> <span class=\"token number\">30<\/span> <span class=\"token parameter variable\">-B<\/span> <span class=\"token number\">10<\/span> <span class=\"token string\">&#034;api.demo.com&#034;<\/span><\/p>\n<p>\u68c0\u67e5 Nginx&#xff1a;<\/p>\n<p>nginx <span class=\"token parameter variable\">-t<\/span><\/p>\n<p>\u5e73\u6ed1\u91cd\u65b0\u52a0\u8f7d&#xff1a;<\/p>\n<p>systemctl reload nginx<\/p>\n<p>\u5220\u9664\u786e\u8ba4\u5e9f\u5f03\u7684 Certbot \u8bc1\u4e66&#xff1a;<\/p>\n<p>certbot delete &#8211;cert-name old.demo.com<\/p>\n<p>\u67e5\u770b\u7ebf\u4e0a\u5b9e\u9645\u8fd4\u56de\u7684\u8bc1\u4e66&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token operator\">|<\/span> openssl s_client <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-connect<\/span> api.demo.com:443 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-servername<\/span> api.demo.com <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token operator\">|<\/span> openssl x509 <span class=\"token parameter variable\">-noout<\/span> <span class=\"token parameter variable\">-subject<\/span> <span class=\"token parameter variable\">-issuer<\/span> <span class=\"token parameter variable\">-dates<\/span><\/p>\n<p>\u57fa\u672c\u638c\u63e1\u8fd9\u4e9b\u547d\u4ee4\u4ee5\u540e&#xff0c;\u5927\u90e8\u5206 Let\u2019s Encrypt &#043; Nginx \u8bc1\u4e66\u95ee\u9898\u90fd\u53ef\u4ee5\u5feb\u901f\u5b9a\u4f4d\u3002<\/p>\n<hr \/>\n<h2>\u4e8c\u5341\u3001\u5199\u5728\u6700\u540e&#xff1a;\u8bc1\u4e66\u6ca1\u8fc7\u671f&#xff0c;\u4e0d\u4ee3\u8868\u8bc1\u4e66\u7cfb\u7edf\u662f\u5065\u5eb7\u7684<\/h2>\n<p>\u8fd9\u6b21\u6392\u67e5\u6700\u503c\u5f97\u8bb0\u4f4f\u7684\u5176\u5b9e\u4e0d\u662f\u67d0\u6761 Certbot \u547d\u4ee4&#xff0c;\u800c\u662f\u4e00\u4e2a\u5f88\u5bb9\u6613\u88ab\u5ffd\u7565\u7684\u8fd0\u7ef4\u601d\u7ef4&#xff1a;<\/p>\n<p>\u201c\u73b0\u5728\u80fd\u7528\u201d\u548c\u201c\u672a\u6765\u80fd\u591f\u6301\u7eed\u6b63\u5e38\u8fd0\u884c\u201d\u662f\u4e24\u56de\u4e8b\u3002<\/p>\n<p>\u6d4f\u89c8\u5668\u544a\u8bc9\u6211\u4eec&#xff1a;<\/p>\n<p>HTTPS \u6b63\u5e38<\/p>\n<p>\u53ea\u80fd\u8bc1\u660e\u5f53\u524d\u8bc1\u4e66\u6709\u6548\u3002<\/p>\n<p>\u800c&#xff1a;<\/p>\n<p>certbot renew &#8211;dry-run<\/p>\n<p>\u9a8c\u8bc1\u7684\u5219\u662f&#xff1a;<\/p>\n<p>DNS<br \/>\n&#043;<br \/>\nACME<br \/>\n&#043;<br \/>\nNginx<br \/>\n&#043;<br \/>\nCertbot<br \/>\n&#043;<br \/>\nLet&#039;s Encrypt<\/p>\n<p>\u8fd9\u4e00\u6574\u6761\u672a\u6765\u7eed\u671f\u94fe\u8def\u662f\u5426\u4ecd\u7136\u7545\u901a\u3002<\/p>\n<p>\u670d\u52a1\u5668\u8fc1\u79fb\u4ee5\u540e\u5c24\u5176\u5e94\u8be5\u505a\u4e00\u6b21\u8fd9\u6837\u7684\u68c0\u67e5\u3002<\/p>\n<p>\u56e0\u4e3a\u670d\u52a1\u5668\u8fc1\u79fb\u5e76\u4e0d\u662f&#xff1a;<\/p>\n<p>\u4ee3\u7801\u590d\u5236\u8fc7\u53bb<br \/>\n&#043;<br \/>\nDNS \u5207\u8fc7\u53bb<br \/>\n&#061;<br \/>\n\u7ed3\u675f<\/p>\n<p>\u771f\u6b63\u5b8c\u6574\u7684\u8fc1\u79fb\u5e94\u8be5\u5305\u62ec&#xff1a;<\/p>\n<p>\u5e94\u7528<br \/>\n\u6570\u636e\u5e93<br \/>\n\u7f13\u5b58<br \/>\n\u6d88\u606f\u961f\u5217<br \/>\n\u6587\u4ef6<br \/>\nDNS<br \/>\nNginx<br \/>\nSSL<br \/>\nCertbot<br \/>\n\u76d1\u63a7<br \/>\n\u5b9a\u65f6\u4efb\u52a1<br \/>\n\u65e5\u5fd7<br \/>\n\u5907\u4efd<\/p>\n<p>\u8bc1\u4e66\u53ea\u662f\u5176\u4e2d\u4e00\u4e2a\u5f88\u5c0f\u7684\u73af\u8282&#xff0c;\u4f46\u5b83\u6709\u4e00\u4e2a\u5f88\u9ebb\u70e6\u7684\u7279\u70b9&#xff1a;<\/p>\n<p>\u914d\u7f6e\u9519\u4e86\u4ee5\u540e&#xff0c;\u5f80\u5f80\u4e0d\u4f1a\u7acb\u5373\u51fa\u95ee\u9898&#xff0c;\u800c\u662f\u5728\u51e0\u5341\u5929\u4e4b\u540e\u7a81\u7136\u7206\u70b8\u3002<\/p>\n<p>\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48\u5f88\u591a\u7ebf\u4e0a SSL \u4e8b\u6545\u770b\u8d77\u6765\u90fd\u5f88\u5947\u602a&#xff1a;<\/p>\n<p>\u201c\u6628\u5929\u8fd8\u597d\u597d\u7684&#xff0c;\u600e\u4e48\u4eca\u5929\u7a81\u7136\u6240\u6709\u5ba2\u6237\u7aef\u90fd\u8fde\u4e0d\u4e0a\u4e86&#xff1f;\u201d<\/p>\n<p>\u56e0\u4e3a\u771f\u6b63\u7684\u95ee\u9898\u53ef\u80fd\u4e24\u4e2a\u6708\u524d\u8fc1\u79fb\u670d\u52a1\u5668\u7684\u65f6\u5019\u5c31\u5df2\u7ecf\u57cb\u4e0b\u4e86\u3002<\/p>\n<p>\u6240\u4ee5\u4ee5\u540e\u670d\u52a1\u5668\u8fc1\u79fb\u5b8c\u6210&#xff0c;\u6211\u5efa\u8bae\u56fa\u5b9a\u8865\u4e0a\u6700\u540e\u4e24\u4e2a\u52a8\u4f5c&#xff1a;<\/p>\n<p>nginx <span class=\"token parameter variable\">-t<\/span><br \/>\ncertbot renew &#8211;dry-run<\/p>\n<p>\u5982\u679c\u6240\u6709\u6b63\u5728\u4f7f\u7528\u7684\u8bc1\u4e66\u90fd\u80fd\u770b\u5230&#xff1a;<\/p>\n<p>success<\/p>\n<p>\u8fd9\u4e2a\u8fc1\u79fb\u624d\u7b97\u771f\u6b63\u628a HTTPS \u8fd9\u4e00\u73af\u6536\u5c3e\u3002<\/p>\n<p>\u81f3\u4e8e\u5386\u53f2\u8bc1\u4e66&#xff0c;\u53ef\u4ee5\u665a\u4e00\u70b9\u6574\u7406&#xff1b;\u5931\u8d25\u65e5\u5fd7&#xff0c;\u4e5f\u53ef\u4ee5\u6162\u6162\u6e05\u3002<\/p>\n<p>\u4f46\u6b63\u5728\u4f7f\u7528\u7684\u8bc1\u4e66&#xff0c;\u4e00\u5b9a\u8981\u786e\u4fdd\u5b83\u4eca\u5929\u80fd\u7528&#xff0c;\u660e\u5929\u4e5f\u80fd\u81ea\u5df1\u7eed\u4e0a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let\u2019s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f&#xff1f;\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77<br \/>\n\u505a\u670d\u52a1\u5668\u8fc1\u79fb\u7684\u65f6\u5019&#xff0c;\u6211\u4eec\u901a\u5e38\u6700\u5173\u5fc3\u7684\u662f\u5e94\u7528\u80fd\u4e0d\u80fd\u542f\u52a8\u3001\u6570\u636e\u5e93\u80fd\u4e0d\u80fd\u8fde\u4e0a\u3001Nginx \u8f6c\u53d1\u662f\u5426\u6b63\u5e38\u3001DNS \u6709\u6ca1\u6709\u5207\u8fc7\u53bb\u3002<br \/>\nSSL \u8bc1\u4e66\u53cd\u800c\u5f88\u5bb9\u6613\u88ab\u5ffd\u7565\u3002<br \/>\n\u539f\u56e0\u4e5f\u5f88\u7b80\u5355&#xff1a;\u8fc1\u79fb\u5b8c\u6210\u4ee5\u540e\u6253\u5f00\u7f51\u7ad9&#xff0c;\u6d4f\u89c8\u5668\u663e\u793a HTTPS \u6b63\u5e38&#xff0c;\u8bc1\u4e66\u8fd8\u6709\u51e0\u5341\u5929\u624d\u8fc7\u671f&#xff0c;\u770b\u8d77\u6765\u4f3c\u4e4e\u6ca1\u4ec0\u4e48\u95ee\u9898\u3002\u4f46\u771f\u6b63\u5bb9\u6613\u51fa\u95ee\u9898\u7684&#xff0c;\u5f80\u5f80\u4e0d\u662f\u201c\u73b0<\/p>\n","protected":false},"author":2,"featured_media":102562,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-102563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Let\u2018s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f\uff1f\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/102563.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Let\u2018s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f\uff1f\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Let\u2019s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f&#xff1f;\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77 \u505a\u670d\u52a1\u5668\u8fc1\u79fb\u7684\u65f6\u5019&#xff0c;\u6211\u4eec\u901a\u5e38\u6700\u5173\u5fc3\u7684\u662f\u5e94\u7528\u80fd\u4e0d\u80fd\u542f\u52a8\u3001\u6570\u636e\u5e93\u80fd\u4e0d\u80fd\u8fde\u4e0a\u3001Nginx \u8f6c\u53d1\u662f\u5426\u6b63\u5e38\u3001DNS \u6709\u6ca1\u6709\u5207\u8fc7\u53bb\u3002 SSL \u8bc1\u4e66\u53cd\u800c\u5f88\u5bb9\u6613\u88ab\u5ffd\u7565\u3002 \u539f\u56e0\u4e5f\u5f88\u7b80\u5355&#xff1a;\u8fc1\u79fb\u5b8c\u6210\u4ee5\u540e\u6253\u5f00\u7f51\u7ad9&#xff0c;\u6d4f\u89c8\u5668\u663e\u793a HTTPS \u6b63\u5e38&#xff0c;\u8bc1\u4e66\u8fd8\u6709\u51e0\u5341\u5929\u624d\u8fc7\u671f&#xff0c;\u770b\u8d77\u6765\u4f3c\u4e4e\u6ca1\u4ec0\u4e48\u95ee\u9898\u3002\u4f46\u771f\u6b63\u5bb9\u6613\u51fa\u95ee\u9898\u7684&#xff0c;\u5f80\u5f80\u4e0d\u662f\u201c\u73b0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/102563.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-08T23:33:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260908233309-6aa09b355e73b.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/102563.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/102563.html\",\"name\":\"Let\u2018s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f\uff1f\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-08T23:33:11+00:00\",\"dateModified\":\"2026-09-08T23:33:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/102563.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/102563.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/102563.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Let\u2018s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f\uff1f\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Let\u2018s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f\uff1f\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/102563.html","og_locale":"zh_CN","og_type":"article","og_title":"Let\u2018s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f\uff1f\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Let\u2019s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f&#xff1f;\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77 \u505a\u670d\u52a1\u5668\u8fc1\u79fb\u7684\u65f6\u5019&#xff0c;\u6211\u4eec\u901a\u5e38\u6700\u5173\u5fc3\u7684\u662f\u5e94\u7528\u80fd\u4e0d\u80fd\u542f\u52a8\u3001\u6570\u636e\u5e93\u80fd\u4e0d\u80fd\u8fde\u4e0a\u3001Nginx \u8f6c\u53d1\u662f\u5426\u6b63\u5e38\u3001DNS \u6709\u6ca1\u6709\u5207\u8fc7\u53bb\u3002 SSL \u8bc1\u4e66\u53cd\u800c\u5f88\u5bb9\u6613\u88ab\u5ffd\u7565\u3002 \u539f\u56e0\u4e5f\u5f88\u7b80\u5355&#xff1a;\u8fc1\u79fb\u5b8c\u6210\u4ee5\u540e\u6253\u5f00\u7f51\u7ad9&#xff0c;\u6d4f\u89c8\u5668\u663e\u793a HTTPS \u6b63\u5e38&#xff0c;\u8bc1\u4e66\u8fd8\u6709\u51e0\u5341\u5929\u624d\u8fc7\u671f&#xff0c;\u770b\u8d77\u6765\u4f3c\u4e4e\u6ca1\u4ec0\u4e48\u95ee\u9898\u3002\u4f46\u771f\u6b63\u5bb9\u6613\u51fa\u95ee\u9898\u7684&#xff0c;\u5f80\u5f80\u4e0d\u662f\u201c\u73b0","og_url":"https:\/\/www.wsisp.com\/helps\/102563.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-08T23:33:11+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260908233309-6aa09b355e73b.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/102563.html","url":"https:\/\/www.wsisp.com\/helps\/102563.html","name":"Let\u2018s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f\uff1f\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-08T23:33:11+00:00","dateModified":"2026-09-08T23:33:11+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/102563.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/102563.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/102563.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Let\u2018s Encrypt \u8bc1\u4e66\u5230\u5e95\u4f1a\u4e0d\u4f1a\u81ea\u52a8\u7eed\u671f\uff1f\u4ece\u4e00\u6b21\u670d\u52a1\u5668\u8fc1\u79fb\u540e\u7684\u8bc1\u4e66\u6392\u67e5\u8bf4\u8d77"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/102563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=102563"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/102563\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/102562"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=102563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=102563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=102563"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=102563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}