{"id":466,"date":"2019-11-19T00:04:46","date_gmt":"2019-11-18T16:04:46","guid":{"rendered":"https:\/\/aichh.com\/?p=466"},"modified":"2019-11-19T00:04:46","modified_gmt":"2019-11-18T16:04:46","slug":"%e7%be%a4%e6%99%96-lets-encrypt-%e6%b3%9b%e5%9f%9f%e5%90%8d%e8%af%81%e4%b9%a6%e8%87%aa%e5%8a%a8%e6%9b%b4%e6%96%b0","status":"publish","type":"post","link":"https:\/\/aichh.com\/466.html","title":{"rendered":"\u7fa4\u6656 Let&#8217;s Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0"},"content":{"rendered":"<h2 id=\"1-\u51c6\u5907\u5de5\u4f5c\">1. \u51c6\u5907\u5de5\u4f5c<\/h2>\n<p>\u56e0\u4e3a\u6211\u4ecb\u7ecd\u7684\u65b9\u6cd5\u662f\u4e00\u952e\u66ff\u6362\u7fa4\u6656\u7684\u9ed8\u8ba4\u8bc1\u4e66\uff0c\u6240\u4ee5\uff0c\u4e3a\u4e86\u9632\u6b62\u610f\u5916\uff0c\u6700\u597d\u4fdd\u8bc1\u4f60\u7684\u8bc1\u4e66\u5217\u8868\u91cc\u53ea\u6709\u4e00\u6761\u8bb0\u5f55\uff0c\u5373\u9ed8\u8ba4\u8bc1\u4e66\u90a3\u4e00\u6761\u3002\u5b9e\u9645\u4e0a\u56e0\u4e3a\u652f\u6301\u4e86\u6cdb\u57df\u540d\u8bc1\u4e66\uff0c\u57fa\u672c\u4e0a\u8fd9\u4e00\u6761\u8bb0\u5f55\u5c31\u8db3\u591f\u7528\u4e86\uff08\u5f53\u7136\uff0c\u5982\u679c\u4f60\u8981\u7ba1\u7406\u591a\u4e2a\u57df\u540d\uff0c\u53ef\u80fd\u672c\u6587\u7684\u65b9\u6cd5\u5e76\u4e0d\u5b9e\u7528\uff09\u3002\u6240\u4ee5\u5f00\u59cb\u5de5\u4f5c\u524d\u4f60\u7684\u8bc1\u4e66\u5217\u8868\u5927\u6982\u5e94\u8be5\u662f\u8fd9\u4e2a\u6837\u5b50\uff1a<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574092992-3403-cert-list.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574092992-3403-cert-list.png\" width=\"1117\" height=\"661\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c1\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c1\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<h2 id=\"2-\u4e0b\u8f7d\u4e00\u952e\u66f4\u65b0\u811a\u672c\">2. \u4e0b\u8f7d\u4e00\u952e\u66f4\u65b0\u811a\u672c<\/h2>\n<p>\u8fd9\u662f\u4e00\u952e\u811a\u672c\u7684\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/andyzhshg\/syno-acme\" target=\"_blank\" rel=\"external noopener noreferrer\">andyzhshg\/syno-acme<\/a>\u3002<\/p>\n<p>\u5982\u679c\u4f60\u5bf9\u9879\u76ee\u672c\u8eab\u4e0d\u611f\u5174\u8da3\uff0c\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u6253\u5305\u597d\u7684\u5de5\u5177\uff1a<a href=\"https:\/\/github.com\/andyzhshg\/syno-acme\/archive\/v0.2.0.zip\" target=\"_blank\" rel=\"external noopener noreferrer\">syno-acme v0.2.0<\/a>\u3002<\/p>\n<p>\u53ef\u4ee5\u901a\u8fc7 File Station \u5c06\u4e0b\u8f7d\u7684\u5de5\u5177\u4e0a\u4f20\u5230NAS\u7684\u4efb\u610f\u76ee\u5f55\u4e0b\uff0c\u5e76\u89e3\u538b\u3002<\/p>\n<p>\u89e3\u538b\u540e\u5927\u6982\u662f\u8fd9\u4e2a\u6837\u5b50\uff1a<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574092983-7537-unzip.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574092983-7537-unzip.png\" width=\"820\" height=\"349\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c2\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c2\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<h2 id=\"3-\u914d\u7f6e\u811a\u672c\u53c2\u6570\">3. \u914d\u7f6e\u811a\u672c\u53c2\u6570<\/h2>\n<p>\u7f16\u8f91\u811a\u672c\u7684\u914d\u7f6e\u6587\u4ef6<code>config<\/code>:<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574092997-8774-config.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574092997-8774-config.png\" width=\"969\" height=\"721\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c3\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c3\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p>\u5982\u56fe\u6240\u793a\uff0c\u9700\u8981\u7f16\u8f91\u7684\u51e0\u4e2a\u5b57\u6bb5\u6211\u7528\u84dd\u6846\u6807\u8bb0\u51fa\u6765\u4e86\u3002<\/p>\n<p>\u9996\u5148\u662fDOMAIN\uff0c\u4e5f\u5c31\u662f\u4f60\u7684\u57df\u540d\u3002<\/p>\n<p>\u7136\u540e\u662fDNS\u7684\u7c7b\u578b\uff0c\u6839\u636e\u670d\u52a1\u5546\u7684\u4e0d\u540c\uff0cDNS\u7c7b\u578b\u5404\u4e0d\u76f8\u540c\uff0c\u6bd4\u5982\u963f\u91cc\u4e91\uff08dns_ali\uff09\uff0cDnspod\uff08dns_dp\uff09\uff0cGodaddy\uff08dns_gd\uff09\u7b49\u3002<\/p>\n<p>\u6700\u540e\u8981\u6839\u636e\u4e0d\u540c\u7684\u670d\u52a1\u5546\u914d\u7f6e\u670d\u52a1\u4e0a\u63d0\u4f9b\u7684\u6388\u6743\u5bc6\u94a5\u7b49\u4fe1\u606f\uff0c\u6bd4\u5982\u6211\u7684\u57df\u540d\u670d\u52a1\u5546\u662f\u963f\u91cc\u4e91\uff0c\u6211\u9700\u8981\u7f16\u8f91<code>Ali_Key<\/code>\u548c<code>Ali_Secret<\/code>\u5b57\u6bb5\uff0c\u5b57\u6bb5\u7684\u5185\u5bb9\u9700\u8981\u5230\u57df\u540d\u670d\u52a1\u5546\u7684\u7ba1\u7406\u540e\u53f0\u6765\u67e5\u770b\uff0c\u56e0\u4e3a\u4e0d\u540c\u7684\u670d\u52a1\u5546\u7684\u67e5\u770b\u65b9\u5f0f\u4e0d\u540c\uff0c\u8bf7\u5927\u5bb6\u6839\u636e\u81ea\u5df1\u7684\u5b9e\u9645\u60c5\u51b5\u53bb\u67e5\u627e\u5427\u3002<\/p>\n<p>\u9700\u8981\u6307\u51fa\u7684\u662f\uff0c\u6211\u7ed9\u51fa\u7684\u914d\u7f6e\u6587\u4ef6\u6a21\u677f\u5e76\u6ca1\u6709\u7ed9\u51fa\u6240\u6709acme.sh\u652f\u6301\u7684\u57df\u540d\u670d\u52a1\u5546\uff0c\u5927\u5bb6\u53ef\u4ee5\u53c2\u7167\u00a0<a href=\"https:\/\/github.com\/Neilpang\/acme.sh\/tree\/master\/dnsapi\" target=\"_blank\" rel=\"external noopener noreferrer\">https:\/\/github.com\/Neilpang\/acme.sh\/tree\/master\/dnsapi<\/a>\u6765\u6dfb\u52a0\u81ea\u5df1\u7684\u914d\u7f6e\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u8fd9\u4e2a\u9875\u9762\u6bcf\u4e2a\u6587\u4ef6\u5bf9\u5e94\u4e00\u4e2a\u57df\u540d\u670d\u52a1\u5546\uff0c\u6bd4\u5982<code>dns_ali.sh<\/code>\u5c31\u662f\u5bf9\u5e94\u963f\u91cc\u4e91\uff0c\u6587\u4ef6\u540d\u53bb\u6389<code>.sh<\/code>\u6269\u5c55\u540d\u5c31\u662fDNS\u7c7b\u578b\uff0c\u6bd4\u5982\u963f\u91cc\u4e91\u7684DNS\u7c7b\u578b\u5c31\u662f<code>dns_ali<\/code>\u3002\u6253\u5f00\u5bf9\u5e94\u6587\u4ef6\uff0c \u4e00\u822c\u90fd\u53ef\u4ee5\u5728\u6587\u4ef6\u7684\u5934\u90e8\u627e\u5230\u9700\u8981\u8bbe\u7f6e\u7684\u6388\u6743\u4fe1\u606f\u5bf9\u5e94\u7684\u5bc6\u94a5\uff0c\u6bd4\u5982\u963f\u91cc\u4e91\u7684\u6388\u6743\u5bc6\u94a5\u6240\u5728\u7684\u4f4d\u7f6e\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574092991-7311-apikey.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574092991-7311-apikey.png\" width=\"1014\" height=\"556\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c4\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c4\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p><code>config<\/code>\u6a21\u677f\u4e2d\u6ca1\u6709\u7684\u670d\u52a1\u5546\uff0c\u8bf7\u5927\u5bb6\u81ea\u884c\u5b8c\u5584\u3002<\/p>\n<p>[^2018.05.31]: \u9488\u5bf9\u8bc4\u8bba\u533a\u540c\u5b66\u63d0\u51fa\u7684 Linode \u7684 API \u751f\u6548\u65f6\u95f4\u7684\u95ee\u9898\uff0c\u589e\u52a0\u4e86\u4e00\u4e2a\u914d\u7f6e\u53c2\u6570<code>DNS_SLEEP<\/code>\uff0c\u51fa\u73b0\u7c7b\u4f3c\u95ee\u9898\u7684\u8bdd\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u589e\u5927\u8fd9\u4e2a\u53c2\u6570\u6765\u89e3\u51b3\u3002<\/p>\n<h2 id=\"4-\u914d\u7f6e\u5b9a\u65f6\u4efb\u52a1\">4. \u914d\u7f6e\u5b9a\u65f6\u4efb\u52a1<\/h2>\n<h3 id=\"i-\u67e5\u627e\u811a\u672c\u8def\u5f84\">i. \u67e5\u627e\u811a\u672c\u8def\u5f84<\/h3>\n<p>\u5728 File Station \u4e2d\u5b9a\u4f4d\u5230\u4e0b\u8f7d\u7684\u4e00\u952e\u811a\u672c\u7684\u76ee\u5f55\uff0c\u67e5\u770b\u8be5\u811a\u672c\u7684\u7edd\u5bf9\u8def\u5f84\uff1a<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093046-8053-file-info.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093046-8053-file-info.png\" width=\"871\" height=\"763\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c5\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c5\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093044-3855-file-path.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093044-3855-file-path.png\" width=\"768\" height=\"335\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c6\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c6\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p>\u590d\u5236\u5b8c\u6574\u7684\u7edd\u5bf9\u8def\u5f84\u5230\u526a\u8d34\u677f\u3002<\/p>\n<h3 id=\"ii-\u521b\u5efa\u5b9a\u65f6\u4efb\u52a1\">ii. \u521b\u5efa\u5b9a\u65f6\u4efb\u52a1<\/h3>\n<p>\u6253\u5f00\u00a0<code>\u63a7\u5236\u9762\u677f \/ \u4efb\u52a1\u8ba1\u5212 \/ \u65b0\u589e \/ \u8ba1\u5212\u7684\u4efb\u52a1 \/ \u7528\u6237\u81ea\u5b9a\u4e49\u7684\u811a\u672c<\/code>\uff1a<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093055-5604-task.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093055-5604-task.png\" width=\"738\" height=\"656\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c7\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c7\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p>\u8bbe\u7f6e\u4efb\u52a1\u540d\u79f0\u548c\u64cd\u4f5c\u7528\u6237\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\u8fd9\u91cc\u4e00\u5b9a\u8981\u9009\u62e9<code>root<\/code>\uff1a<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093054-9765-task-name.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093054-9765-task-name.png\" width=\"539\" height=\"542\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c8\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c8\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p>\u8bbe\u7f6e\u8ba1\u5212\u7684\u65f6\u95f4\u548c\u5468\u671f\uff0c\u8fd9\u91cc\u53ea\u652f\u6301\u6309\u6708\u6216\u8005\u5e74\u91cd\u590d\uff0c\u6211\u4eec\u53ea\u80fd\u53d6\u6309\u6708\u91cd\u590d\u624d\u80fd\u6ee1\u8db3 Let\u2019s Encrypt \u81f3\u5c113\u4e2a\u6708\u66f4\u65b0\u4e00\u6b21\u7684\u8981\u6c42\uff1a<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093049-3997-task-inv.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093049-3997-task-inv.png\" width=\"534\" height=\"536\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c9\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c9\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p>\u8bbe\u7f6e\u6267\u884c\u811a\u672c\uff0c\u8fd9\u91cc\u6211\u4eec\u5c06\u811a\u672c\u7684\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u4e86\u4e00\u4e2a<code>log.txt<\/code>\u7684\u6587\u4ef6\u4e2d\uff0c\u4ee5\u65b9\u4fbf\u540e\u671f\u67e5\u770b\u811a\u672c\u7684\u6267\u884c\u60c5\u51b5\uff1a<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093057-5511-task-cmd.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093057-5511-task-cmd.png\" width=\"545\" height=\"552\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c10\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c10\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p>\u4e0a\u56fe\u7ea2\u6846\u4e2d\u7684\u811a\u672c\u547d\u4ee4\u4e3a(\u6ce8\u610f\u6ca1\u6709\u6362\u884c)\uff1a<\/p>\n<figure class=\"highlight bash\">\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"line\">\/volume1\/nas_share\/certs\/syno-acme\/cert-up.sh update &gt;&gt; \/volume1\/nas_share\/certs\/syno-acme\/log.txt 2&gt;&amp;1<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u5177\u4f53\u7684\u8def\u5f84\u662f\u6b65\u9aa4\u00a0<code>i<\/code>\u4e2d\u590d\u5236\u7684\u8def\u5f84\u3002<\/p>\n<h3 id=\"iii-\u8bd5\u8fd0\u884c\u811a\u672c\">iii. \u8bd5\u8fd0\u884c\u811a\u672c<\/h3>\n<p>\u53ef\u4ee5\u5728\u65b0\u5efa\u7684\u4efb\u52a1\u4e0a\u70b9\u51fb\u53f3\u952e\u7acb\u5373\u6267\u884c\u4efb\u52a1\uff1a<\/p>\n<p><a href=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093061-8966-task-run.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2019\/11\/1574093061-8966-task-run.png\" width=\"869\" height=\"483\" alt=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c11\u5f20\" title=\"\u7fa4\u6656 Let's Encrypt \u6cdb\u57df\u540d\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0 DSM \u7b2c11\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p>\u8fd9\u6837\u811a\u672c\u5c31\u4f1a\u8fd0\u884c\uff0c\u81ea\u52a8\u66f4\u65b0\u8bc1\u4e66\uff0c\u5e76\u91cd\u542fweb\u670d\u52a1\u5668\u52a0\u8f7d\u65b0\u7684\u811a\u672c\u3002\u4ee5\u540e\uff0cNAS\u4f1a\u6bcf\u9694\u4e00\u4e2a\u6708\u6267\u884c\u4e00\u6b21\u8be5\u811a\u672c\uff0c\u81ea\u52a8\u66f4\u65b0\u8bc1\u4e66\u3002<\/p>\n<h3 id=\"iv-\u56de\u6eda\">iv. \u56de\u6eda<\/h3>\n<p>\u811a\u672c\u91cc\u63d0\u4f9b\u4e86\u56de\u6eda\u547d\u4ee4\uff0c\u53ef\u4ee5\u901a\u8fc7ssh\u767b\u5f55\u5230nas\uff0c\u5b9a\u4f4d\u5230\u5bf9\u5e94\u76ee\u5f55\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u56de\u6eda\u8bc1\u4e66\u76ee\u5f55\u5230\u5907\u4efd\u7684\u72b6\u6001\uff1a<\/p>\n<figure class=\"highlight bash\">\n<table>\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"line\">\/volume1\/nas_share\/certs\/syno-acme\/cert-up.sh revert<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h2 id=\"\u603b\u7ed3\">\u603b\u7ed3<\/h2>\n<p>\u8fd9\u4e2a\u4e00\u952e\u811a\u672c\u7684\u7279\u70b9\u662f\u6700\u5c0f\u9650\u5ea6\u7684\u89e6\u78b0\u7cfb\u7edf\u6587\u4ef6\uff0c\u4ec5<code>\/usr\/syno\/etc\/certificate\/_archive<\/code>\u76ee\u5f55\u4f1a\u88ab\u66f4\u6539\u3002<code>acme.sh<\/code>\u5de5\u5177\u968f\u7528\u968f\u65f6\u4e0b\u8f7d\uff0c\u4fdd\u6301\u6700\u65b0\uff0c\u7528\u5b8c\u5373\u5220\u9664\uff0c\u4e0d\u5360\u7528\u78c1\u76d8\u7a7a\u95f4\u3002<\/p>\n<p>\u8fd9\u57fa\u672c\u5c31\u662f\u672c\u6587\u7684\u5168\u90e8\u4e86\uff0c\u5982\u679c\u5927\u5bb6\u4f7f\u7528\u4e2d\u9047\u5230\u95ee\u9898\uff0c\u53ef\u4ee5\u5728\u8fd9\u91cc\u7559\u8a00\u6216\u8005\u5230\u00a0<a href=\"https:\/\/github.com\/andyzhshg\/syno-acme\/issues\" target=\"_blank\" rel=\"external noopener noreferrer\">https:\/\/github.com\/andyzhshg\/syno-acme\/issues<\/a>\u00a0\u63d0issue\u3002<\/p>\n<hr \/>\n<p>[^\u53c2\u80031]:\u00a0<a href=\"https:\/\/github.com\/Neilpang\/acme.sh\/wiki\/Synology-NAS-Guide\" target=\"_blank\" rel=\"external noopener noreferrer\">Synology NAS Guide<\/a><br \/>\n[^\u53c2\u80032]:\u00a0<a href=\"http:\/\/www.up4dev.com\/2017\/09\/11\/synology-ssl-cert-update\/\">\u7fa4\u6656 Let\u2019s Encrypt \u8bc1\u4e66\u7684\u81ea\u52a8\u66f4\u65b0<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u8f6c\u81ea\uff1ahttp:\/\/www.up4dev.com\/2018\/05\/29\/synology-ssl-wildcard-cert-update\/<\/p>\n","protected":false},"excerpt":{"rendered":"1. \u51c6\u5907\u5de5\u4f5c \u56e0\u4e3a\u6211\u4ecb\u7ecd\u7684\u65b9\u6cd5\u662f\u4e00\u952e\u66ff\u6362\u7fa4\u6656\u7684\u9ed8\u8ba4\u8bc1\u4e66\uff0c\u6240\u4ee5\uff0c\u4e3a\u4e86\u9632\u6b62\u610f\u5916\uff0c\u6700\u597d\u4fdd\u8bc1\u4f60\u7684\u8bc1\u4e66\u5217\u8868\u91cc\u53ea\u6709\u4e00\u6761\u8bb0\u5f55\uff0c\u5373\u9ed8\u8ba4\u8bc1\u4e66\u90a3\u4e00\u6761\u3002\u5b9e\u9645\u4e0a\u56e0\u4e3a\u652f\u6301\u4e86\u6cdb\u57df\u540d\u8bc1\u4e66\uff0c\u57fa\u672c\u4e0a\u8fd9\u4e00\u6761\u8bb0\u5f55\u5c31\u8db3\u591f\u7528\u4e86\uff08\u5f53\u7136\uff0c\u5982\u679c\u4f60 \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[50,51,49],"class_list":["post-466","post","type-post","status-publish","format-standard","hentry","category-dsm","tag-50","tag-51","tag-49"],"views":903,"_links":{"self":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/comments?post=466"}],"version-history":[{"count":1,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/466\/revisions"}],"predecessor-version":[{"id":478,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/466\/revisions\/478"}],"wp:attachment":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/media?parent=466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/categories?post=466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/tags?post=466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}