{"id":369,"date":"2024-11-18T16:34:06","date_gmt":"2024-11-18T08:34:06","guid":{"rendered":"https:\/\/bbstone.cn\/?p=369"},"modified":"2025-08-22T15:59:35","modified_gmt":"2025-08-22T07:59:35","slug":"%e5%88%9b%e5%bb%ba%e6%b0%b8%e4%b9%85%e5%85%8d%e8%b4%b9%e7%9a%84ssl%e8%af%81%e4%b9%a6","status":"publish","type":"post","link":"https:\/\/bbstone.cn\/?p=369","title":{"rendered":"\u521b\u5efa\u6c38\u4e45\u514d\u8d39\u7684SSL\u8bc1\u4e66"},"content":{"rendered":"\n<p class=\"has-text-align-center\">\u4e00\u6b21\u521b\u5efa\uff0c\u81ea\u52a8\u66f4\u65b0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u672f\u8bed<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>HTTPS<\/strong><\/h3>\n\n\n\n<p>HTTPS\uff08Hypertext Transfer Protocol Secure\uff09\u662f\u4e00\u79cd\u5b89\u5168\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u5efa\u7acb\u5728 HTTP\uff08\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\uff09\u4e4b\u4e0a\uff0c\u901a\u8fc7\u6dfb\u52a0\u52a0\u5bc6\u548c\u8ba4\u8bc1\u673a\u5236\u6765\u4fdd\u62a4\u6570\u636e\u7684\u4f20\u8f93\u3002HTTPS \u534f\u8bae\u7684\u4e3b\u8981\u76ee\u7684\u662f\u786e\u4fdd\u6570\u636e\u5728\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u4f20\u8f93\u65f6\u4e0d\u88ab\u7a83\u53d6\u3001\u7be1\u6539\u6216\u4f2a\u9020\u3002<\/p>\n\n\n\n<p>HTTPS \u7684\u4e00\u4e9b\u5173\u952e\u7279\u70b9\uff1a<\/p>\n\n\n\n<p><strong>\u52a0\u5bc6\uff1a<\/strong>HTTPS \u4f7f\u7528 SSL\/TLS\uff08\u5b89\u5168\u5957\u63a5\u5c42\/\u4f20\u8f93\u5c42\u5b89\u5168\uff09\u534f\u8bae\u6765\u52a0\u5bc6\u6570\u636e\u4f20\u8f93\u3002\u8fd9\u4f7f\u5f97\u5373\u4f7f\u6570\u636e\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u88ab\u622a\u83b7\uff0c\u653b\u51fb\u8005\u4e5f\u65e0\u6cd5\u8bfb\u53d6\u6216\u7406\u89e3\u6570\u636e\u3002<\/p>\n\n\n\n<p><strong>\u8ba4\u8bc1\uff1a<\/strong>HTTPS \u80fd\u591f\u9a8c\u8bc1\u670d\u52a1\u5668\u7684\u8eab\u4efd\uff0c\u786e\u4fdd\u5ba2\u6237\u7aef\u6b63\u5728\u4e0e\u9884\u671f\u7684\u670d\u52a1\u5668\u901a\u4fe1\uff0c\u800c\u4e0d\u662f\u4e00\u4e2a\u5192\u5145\u7684\u670d\u52a1\u5668\u3002\u8fd9\u6709\u52a9\u4e8e\u9632\u6b62\u4e2d\u95f4\u4eba\u653b\u51fb\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">SSL<\/h3>\n\n\n\n<p> SSL\uff08Secure Sockets Layer\uff09\u662f\u4e00\u79cd\u52a0\u5bc6\u534f\u8bae\uff0c\u7528\u4e8e\u5728\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u5efa\u7acb\u5b89\u5168\u3001\u52a0\u5bc6\u7684\u901a\u4fe1\u8fde\u63a5\u3002\u5b83\u662f\u4e92\u8054\u7f51\u4e0a\u7528\u4e8e\u4fdd\u62a4\u6570\u636e\u4f20\u8f93\u5b89\u5168\u7684\u4e00\u79cd\u6280\u672f\uff0c\u7279\u522b\u662f\u5728\u4f20\u8f93\u654f\u611f\u4fe1\u606f\u65f6\uff0c\u5982\u4fe1\u7528\u5361\u53f7\u7801\u3001\u767b\u5f55\u51ed\u636e\u7b49\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Let&#8217;s Encrypt<\/strong><\/h3>\n\n\n\n<p>Let\u2019s Encrypt \u662f\u4e00\u5bb6\u514d\u8d39\u3001\u5f00\u653e\u3001\u81ea\u52a8\u5316\u7684\u516c\u76ca\u6027\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08CA\uff09\uff0c \u7531<a href=\"https:\/\/www.abetterinternet.org\/\">\u4e92\u8054\u7f51\u5b89\u5168\u7814\u7a76\u7ec4<\/a>\uff08ISRG\uff09\u8fd0\u4f5c\u3002<\/p>\n\n\n\n<p>Let\u2019s Encrypt \u7684\u5b97\u65e8\u662f\uff1a<\/p>\n\n\n\n<p><strong>\u514d\u8d39\uff1a<\/strong>\u4efb\u4f55\u4eba\u53ea\u8981\u6301\u6709\u57df\u540d\u5c31\u53ef\u4ee5\u901a\u8fc7 Let\u2019s Encrypt \u514d\u8d39\u83b7\u5f97\u53ef\u4fe1\u7684\u6570\u5b57\u8bc1\u4e66\u3002<\/p>\n\n\n\n<p><strong>\u81ea\u52a8\uff1a<\/strong>\u4f7f\u7528\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u7684\u8f6f\u4ef6\u5373\u53ef\u4e0e Let\u2019s Encrypt \u4ea4\u4e92\uff0c\u8f7b\u677e\u5b9e\u73b0\u8bc1\u4e66\u7684\u83b7\u53d6\u3001\u5b89\u5168\u914d\u7f6e\u4ee5\u53ca\u81ea\u52a8\u7eed\u671f\u3002<\/p>\n\n\n\n<p><strong>\u5b89\u5168\uff1a<\/strong>Let\u2019s Encrypt \u4e0d\u4ec5\u9881\u53d1\u8bc1\u4e66\uff0c\u8fd8\u5728\u79ef\u6781\u534f\u52a9\u5e7f\u5927\u7f51\u7ad9\u8fd0\u4f5c\u8005\u6b63\u786e\u7ef4\u62a4\u670d\u52a1\u5668\u5b89\u5168\uff0c\u4ece\u800c\u6210\u4e3a\u4e00\u4e2a\u63a8\u52a8 TLS \u5b89\u5168\u6700\u4f73\u5b9e\u8df5\u7684\u5e73\u53f0\u3002<\/p>\n\n\n\n<p><strong>\u900f\u660e\uff1a<\/strong>\u6211\u4eec\u9881\u53d1\u53ca\u540a\u9500\u7684\u6240\u6709\u8bc1\u4e66\u90fd\u6709\u516c\u5f00\u8bb0\u5f55\uff0c\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u67e5\u9605\u3002<\/p>\n\n\n\n<p><strong>\u5f00\u653e\uff1a<\/strong>\u6211\u4eec\u7684\u8bc1\u4e66\u81ea\u52a8\u7b7e\u53d1\u53ca\u7eed\u671f\u534f\u8bae\u5df2\u4f5c\u4e3a\u5f00\u653e\u6807\u51c6<a href=\"https:\/\/tools.ietf.org\/html\/rfc8555\">\u53d1\u5e03<\/a>\uff0c\u5404\u65b9\u5747\u53ef\u91c7\u7528\u3002<\/p>\n\n\n\n<p><strong>\u5408\u4f5c\uff1a<\/strong>\u6b63\u5982\u6211\u4eec\u6240\u4f9d\u8d56\u7684\u4e92\u8054\u7f51\u57fa\u7840\u534f\u8bae\u4e00\u6837\uff0cLet\u2019s Encrypt \u662f\u4e00\u652f\u591a\u65b9\u5408\u4f5c\u5f62\u6210\u7684\u516c\u76ca\u529b\u91cf\uff0c\u7edd\u4e0d\u53d7\u4e2a\u522b\u7ec4\u7ec7\u56e2\u4f53\u638c\u63a7\u3002<\/p>\n\n\n\n<p>\u5b98\u7f51\u5730\u5740\uff1a<a href=\"https:\/\/letsencrypt.org\/zh-cn\/\"><u>https:\/\/letsencrypt.org\/zh-cn\/<\/u><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>ACME<\/strong><\/h3>\n\n\n\n<p>ACME\uff08Automated Certificate Management Environment\uff09\u662f\u4e00\u4e2a\u5f00\u653e\u6807\u51c6\uff0c\u7531\u4e92\u8054\u7f51\u5de5\u7a0b\u4efb\u52a1\u7ec4\uff08IETF\uff09\u5f00\u53d1\uff0c\u7528\u4e8e\u81ea\u52a8\u5316\u8bc1\u4e66\u7ba1\u7406\u8fc7\u7a0b\u3002ACME \u7684\u4e3b\u8981\u76ee\u7684\u662f\u7b80\u5316\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08CA\uff09\u8bc1\u4e66\u7684\u83b7\u53d6\u548c\u66f4\u65b0\uff0c\u7279\u522b\u662f\u7528\u4e8e TLS\/SSL \u8bc1\u4e66\u3002<\/p>\n\n\n\n<p>ACME \u534f\u8bae\u5141\u8bb8\u5ba2\u6237\u7aef\uff08\u901a\u5e38\u662f\u7f51\u7ad9\u670d\u52a1\u5668\uff09\u4e0e CA \u8fdb\u884c\u4ea4\u4e92\uff0c\u4ee5\u81ea\u52a8\u83b7\u53d6\u3001\u5b89\u88c5\u548c\u66f4\u65b0\u8bc1\u4e66\u3002\u8fd9\u4f7f\u5f97\u7f51\u7ad9\u7ba1\u7406\u5458\u80fd\u591f\u66f4\u5bb9\u6613\u5730\u7ba1\u7406\u4ed6\u4eec\u7684\u8bc1\u4e66\uff0c\u5c24\u5176\u662f\u5728\u9700\u8981\u9891\u7e41\u66f4\u65b0\u8bc1\u4e66\u65f6\uff08\u4f8b\u5982\uff0c\u4f7f\u7528 Let\u2019s Encrypt \u8fd9\u6837\u7684\u670d\u52a1\uff09\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u524d\u8a00<\/strong><\/h2>\n\n\n\n<p>\u5728\u6b63\u5f0f\u53d1\u5e03web\u5e94\u7528\u548c\u670d\u52a1\u7684\u65f6\u5019\uff0c\u901a\u5e38\u90fd\u8981\u7528\u5230HTTPS\u6765\u786e\u4fdd\u5ba2\u6237\u7aef\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u6570\u636e\u7684\u5b89\u5168\u4f20\u8f93\uff0c\u56e0\u6b64\u9700\u8981\u4f7f\u7528SSL\u8bc1\u4e66\u3002<\/p>\n\n\n\n<p>\u4ece2024\u5e74\u4e2d\uff085\u6708\u4efd\u5de6\u53f3\uff09\u5f00\u59cb\uff0c\u4e3b\u8981\u7684\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\uff08\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\uff0c\u534e\u4e3a\u4e91\uff09\u63d0\u4f9b\u7684\u514d\u8d39SSL\u8bc1\u4e66SSL\u8bc1\u4e66\u6709\u6548\u671f\u4ece\u539f\u676512\u4e2a\u6708\u90fd\u4e0d\u7ea6\u800c\u540c\u7684\u90fd\u6539\u6210\u4e8690\u5929\u6709\u6548\u671f\u3002\u56e0\u6b64\u6bcf\u96943\u4e2a\u6708\u5c31\u8981\u624b\u52a8\u53bb\u66f4\u65b0\u4e00\u4e0b\u57df\u540d\u7684SSL\u8bc1\u4e66\uff0c\u7136\u800c\u624b\u52a8\u64cd\u4f5c\u64cd\u4f5c\u6781\u4e3a\u7e41\u7410\u4e14\u5bb9\u6613\u56e0\u5fd8\u8bb0\u66f4\u65b0SSL\u8bc1\u4e66\u800c\u5bfc\u81f4\u670d\u52a1\u4e0d\u80fd\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u4e0e\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\u63d0\u4f9b\u514d\u8d39\u8bc1\u4e66\u4e00\u6837\u7684\u662f\uff0c\u901a\u8fc7Let\u2019s&nbsp;Encrypt\u7533\u8bf7\u7684\u514d\u8d39SSL\u8bc1\u4e66\u7684\u6709\u6548\u671f\u4e5f\u7531\u4e4b\u524d\u768412\u4e2a\u6708\u53d8\u6210\u4e8690\u5929\u3002<\/p>\n\n\n\n<p>\u672c\u6587\u4e3b\u8981\u4ecb\u7ecd\uff0c\u57fa\u4e8eLet\u2019s&nbsp;Encrypt\u63d0\u4f9b\u7684\u514d\u8d39\u8bc1\u4e66\u670d\u52a1\u548c\u5ba2\u6237\u7aefGetSSL\u6765\u521b\u5efa\u514d\u8d39\u6c38\u4e45\u7684\u57df\u540dSSL\u8bc1\u4e66\uff08\u4e00\u6b21\u521b\u5efa\uff0c\u540e\u7eed\u65e0\u9700\u624b\u52a8\u66f4\u65b0\uff09<\/p>\n\n\n\n<p>GetSSL\u672c\u8d28\u4e0a\u5c31\u662f\u901a\u8fc7\u81ea\u52a8\u5b9a\u671f\u6267\u884cbash\u811a\u672c\u65b9\u5f0f\u6765\u66ff\u4ee3\u624b\u52a8\u53bb\u7533\u8bf7SSL\u8bc1\u4e66\uff0c\u81ea\u52a8\u66f4\u65b0\u548c\u542f\u7528SSL\u65b0\u8bc1\u4e66\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"405\" src=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72471-1024x405.png\" alt=\"\" class=\"wp-image-373\" srcset=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72471-1024x405.png 1024w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72471-300x119.png 300w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72471-768x304.png 768w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72471-1536x607.png 1536w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72471.png 1918w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u66f4\u591aACME\u5ba2\u6237\u7aef\uff1a<a href=\"https:\/\/letsencrypt.org\/zh-cn\/docs\/client-options\/\"><u>https:\/\/letsencrypt.org\/zh-cn\/docs\/client-options\/<\/u><\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u73af\u5883\u51c6\u5907<\/strong><\/h2>\n\n\n\n<p>\u4ee5\u4e0b\u64cd\u4f5c\u57fa\u4e8e\u817e\u8baf\u4e91\u7684\u670d\u52a1\u5668\u548c\u57df\u540d\u3002<\/p>\n\n\n\n<p><strong>\u57df\u540d\uff1a<\/strong>tookii.cn<\/p>\n\n\n\n<p><strong>Linux\u670d\u52a1\u5668\uff1a<\/strong><strong><\/strong><\/p>\n\n\n\n<p>101.33.231.48 (\u516c\u7f51IP)<\/p>\n\n\n\n<p>10.0.24.12 (\u5185\u7f51IP)<\/p>\n\n\n\n<p><strong>\u64cd\u4f5c\u7528\u6237\uff1a<\/strong>root<\/p>\n\n\n\n<p><strong>DNSPod Token<\/strong><strong>\uff1a<\/strong>b3bd84d91460*******664eb947c0e66<\/p>\n\n\n\n<p>\u6ce8\u610f\uff1a\u9700\u8981\u628a\u4e0a\u9762DNSPod Token\u7f13\u5b58\u60a8\u81ea\u5df1\u7684\uff0c\u4e0a\u9762\u7684token\u7684*\u53f7\u63a9\u76d6\u4e86\u90e8\u5206\u5b57\u7b26\u4f5c\u8131\u654f\u5904\u7406\u4e86\u3002<\/p>\n\n\n\n<p>\u521b\u5efa\u548c\u67e5\u770b\u817e\u8baf\u4e91DNSPod Token\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/console.dnspod.cn\/account\/token\/token\">https:\/\/console.dnspod.cn\/account\/token\/token<\/a><\/p>\n\n\n\n<p><strong>SSL<\/strong><strong>\u8bc1\u4e66\u53d1\u5e03\u76ee\u5f55\uff1a<\/strong>\/opt\/ssl\/tookii.cn\/<\/p>\n\n\n\n<p>Nginx\u4f7f\u7528\u7684SSL\u8bc1\u4e66\u6307\u5411\u8fd9\u91cc\u3002<\/p>\n\n\n\n<p><strong>Nginx<\/strong><strong>\uff1a<\/strong>nginx\/1.14.1<\/p>\n\n\n\n<p>\u7528\u4e8e\u53d1\u5e03web\u7f51\u9875\u6216\u53cd\u5411\u4ee3\u7406API\u670d\u52a1<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5b89\u88c5\u5ba2\u6237\u7aef<\/strong><\/h2>\n\n\n\n<p><strong>\u5ba2\u6237\u7aef\u4e0b\u8f7d<\/strong><\/p>\n\n\n\n<p>\u5728\/root\u76ee\u5f55\u4e0b\u6267\u884c\uff1a<\/p>\n\n\n\n<p># git clone&nbsp;https:\/\/github.com\/srvrco\/getssl scripts<\/p>\n\n\n\n<p>\u6216\uff08gitee\u7684\u955c\u50cf\uff0c\u5982\u679cgithub\u4e0d\u80fd\u8bbf\u95ee\uff0c\u53ef\u4ee5\u901a\u8fc7\u955c\u50cf\u7f51\u5740\u4e0b\u8f7d\uff09<\/p>\n\n\n\n<p>#&nbsp;git clone https:\/\/gitee.com\/mirrors_srvrco\/getssl&nbsp;scripts<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u540d\u5229\u6267\u884c\u5b8c\u6210\u540e\uff0cgetssl\u4e0b\u8f7d\u5230&nbsp;\/root\/scripts\/\u76ee\u5f55\uff0c\u901a\u8fc7&nbsp;\/root\/scripts\/getssl&nbsp;[\u547d\u4ee4\u53c2\u6570]&nbsp;\u5373\u53ef\u4f7f\u7528\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u57fa\u672c\u914d\u7f6e<\/strong><\/h2>\n\n\n\n<p><strong>Step1\uff1a<\/strong>\u521b\u5efa\u7b2c\u4e00\u4e2a \u4f46\u57df\u540d<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-cyan-bluish-gray-background-color has-text-color has-background has-link-color wp-elements-492903158cbb47ba54458dd891682c36\"><code>\/root\/scripts\/getssl -c tookii.cn<\/code><\/pre>\n\n\n\n<p><strong>Step2: <\/strong>\u67e5\u770b\u751f\u4ea7\u7684\u76ee\u5f55\u7ed3\u6784\u548c\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-cb46915d4b3da51b61b5c2d65ab37acd\"><code>~\/.getssl\n~\/.getssl\/getssl.cfg\n~\/.getssl\/tookii.cn\n~\/.getssl\/tookii.cn\/getssl.cfg<\/code><\/pre>\n\n\n\n<p><strong>Step3\uff1a<\/strong>\u4fee\u6539\u57fa\u7840\u914d\u7f6e\u6587\u4ef6\uff1a~\/.getssl\/getssl.cfg<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-cyan-bluish-gray-background-color has-text-color has-background has-link-color wp-elements-c4407e6a1ba8876a7ab42bdcfa69cfd9\"><code>vi ~\/.getssl\/getssl.cfg<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-4681ff898762aadbe0a2fd3ee811ee02\"><code># \u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f1a\u4f7f\u7528staging\u7684acme\u6d4b\u8bd5\u670d\u52a1\u5668\uff08\u6d4b\u8bd5SSL\u8bc1\u4e66\u751f\u6210\u548c\u81ea\u52a8\u6d41\u7a0b\uff0c\u6d4b\u8bd5\u670d\u52a1\u5668\u6d3e\u53d1\u7684SSL\u8bc1\u4e66\u4e0d\u80fd\u4f5c\u4e3a\u57df\u540d\u53d1\u5e03\u4f7f\u7528\uff0c\u5426\u5219\u4f1a\u63d0\u793a\u8bc1\u4e66\u4e0d\u53ef\u7528\uff09\n#CA=\"https:\/\/acme-staging-v02.api.letsencrypt.org\"\n\n# \u6b63\u5f0facme\u670d\u52a1\u5668\uff08\u521b\u5efa\u9700\u8981\u53d1\u5e03\u5230\u771f\u5b9e\u57df\u540d\u7684SSL\u8bc1\u4e66\u65f6\u5019\uff09\nCA=\"https:\/\/acme-v02.api.letsencrypt.org\"\n\n# \u8bbe\u7f6e\u90ae\u4ef6\u5730\u5740\uff0c\u628ame@example.com\u66ff\u6362\u4e3a\u60a8\u7684\u771f\u5b9e\u90ae\u4ef6\u5730\u5740\nACCOUNT_EMAIL=\"me@example.com\"\n\n# \u901a\u8fc7DNS\u6765\u9a8c\u8bc1SSL\u8bc1\u4e66\uff0c\u901a\u914d\u7b26\/\u6cdb\u57df\u540d\u5fc5\u987b\nVALIDATE_VIA_DNS=\"true\"\n# \"ID,Token\"\nexport DNSPOD_API_KEY=\"536438,b3bd84d91460*******664eb947c0e66\"\nDNS_ADD_COMMAND=\"\/root\/scripts\/dns_scripts\/dns_add_dnspod\"\nDNS_DEL_COMMAND=\"\/root\/scripts\/dns_scripts\/dns_del_dnspod\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5355\u57df\u540d\u914d\u7f6e<\/strong><\/h2>\n\n\n\n<p><strong>Step1\uff1a<\/strong>\u4e0a\u9762\u901a\u8fc7\u7b2c\u4e00\u6b65\u64cd\u4f5c\u540e\u4f1a\u751f\u6210tookii.cn\u57df\u540d\u5bf9\u5e94\u7684\u76ee\u5f55\u548c\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-cyan-bluish-gray-background-color has-text-color has-background has-link-color wp-elements-492903158cbb47ba54458dd891682c36\"><code>\/root\/scripts\/getssl -c tookii.cn<\/code><\/pre>\n\n\n\n<p>\u6ce8\u610f\uff1a\u4e0a\u9762\u7684\u547d\u4ee4\u4e0d\u7528\u91cd\u590d\u6267\u884c\u3002<\/p>\n\n\n\n<p><strong>Step2\uff1a<\/strong>\u4fee\u6539~\/.getssl\/tookii.cn\/getssl.cfg\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-cyan-bluish-gray-background-color has-background\"><code>vi ~\/.getssl\/tookii.cn\/getssl.cfg<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-2d4a81a5956f0b457f73c6aac2b0a45b\"><code>SANS=\"www.tookii.cn\"\n# \u5c06\u540e\u7eed\u751f\u6210\u7684\u8bc1\u4e66\u6587\u4ef6crt\u548ckey\u590d\u5236\u5230\u6307\u5b9a\u76ee\u5f55\nDOMAIN_CERT_LOCATION=\"\/opt\/ssl\/tookii.cn\/tookii.cn.crt\"\nDOMAIN_KEY_LOCATION=\"\/opt\/ssl\/tookii.cn\/tookii.cn.key\"<\/code><\/pre>\n\n\n\n<p><strong>Step3\uff1a<\/strong>\u751f\u6210SSL\u8bc1\u4e66<\/p>\n\n\n\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u751f\u6210\u8bc1\u4e66\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-cyan-bluish-gray-background-color has-background\"><code># ~\/scripts\/getssl tookii.cn<\/code><\/pre>\n\n\n\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5f3a\u5236\u91cd\u65b0\u751f\u6210\u8bc1\u4e66\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code has-cyan-bluish-gray-background-color has-background\"><code># ~\/scripts\/getssl -f tookii.cn<\/code><\/pre>\n\n\n\n<p>\u67e5\u770b\u76ee\u5f55(\/root\/.getssl\/*.tookii.cn)\u7684\u6587\u4ef6\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"826\" height=\"238\" src=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72473.png\" alt=\"\" class=\"wp-image-376\" srcset=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72473.png 826w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72473-300x86.png 300w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72473-768x221.png 768w\" sizes=\"auto, (max-width: 826px) 100vw, 826px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u901a\u914d\u7b26\/\u6cdb\u57df\u540d\u914d\u7f6e<\/strong><\/h2>\n\n\n\n<p><strong>Step1\uff1a<\/strong>\u521b\u5efa\u901a\u914d\u7b26\/\u6cdb\u57df\u540d \u76ee\u5f55<\/p>\n\n\n\n<pre class=\"wp-block-code has-cyan-bluish-gray-background-color has-background\"><code># \/root\/scripts\/getssl -c *.tookii.cn<\/code><\/pre>\n\n\n\n<p><strong>Step2\uff1a<\/strong>\u67e5\u770b\u901a\u914d\u7b26\u57df\u540d*.tookii.cn\u7684\u76ee\u5f55<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-0edd029febf536a7d63b0b4923afd099\"><code>-rw------- 1 \troot root 3243 Nov 17 10:47  account.key\n-rw-r--r-- 1 \troot root 3306 Nov 17 14:41  getssl.cfg\ndrwxr-xr-x 3    root root 4096 Nov 17 14:43  '*.tookii.cn'\ndrwxr-xr-x 3    root root 4096 Nov 18 00:27  tookii.cn<\/code><\/pre>\n\n\n\n<p><strong>Step3\uff1a<\/strong>\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-cyan-bluish-gray-background-color has-text-color has-background has-link-color wp-elements-2f4f47add90b9d8766b61fd9e92a1040\"><code># vi ~\/.getssl\/*.tookii.cn\/getssl.cfg<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-2e15942f0cd345a48d5a110625b346be\"><code>SANS=\"tookii.cn\"\n\n# \u5c06\u540e\u7eed\u751f\u6210\u7684\u8bc1\u4e66\u6587\u4ef6crt\u548ckey\u590d\u5236\u5230\u6307\u5b9a\u76ee\u5f55\nDOMAIN_CERT_LOCATION=\"\/opt\/ssl\/tookii.cn\/*.tookii.cn.crt\"\nDOMAIN_KEY_LOCATION=\"\/opt\/ssl\/tookii.cn\/*.tookii.cn.key\"\n\nRELOAD_CMD=\"systemctl reload nginx\"<\/code><\/pre>\n\n\n\n<p><strong>Step4\uff1a<\/strong>\u521b\u5efaSSL\u8bc1\u4e66<\/p>\n\n\n\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u751f\u6210\u8bc1\u4e66\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-cyan-bluish-gray-background-color has-text-color has-background has-link-color wp-elements-1f3129676813e77f663e108a17a8ee26\"><code># ~\/scripts\/getssl\u00a0\"*.tookii.cn\"<\/code><\/pre>\n\n\n\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5f3a\u5236\u91cd\u65b0\u751f\u6210\u8bc1\u4e66\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code has-cyan-bluish-gray-background-color has-background\"><code># ~\/scripts\/getssl -f\u00a0\"*.tookii.cn\"<\/code><\/pre>\n\n\n\n<p>\u67e5\u770b\u76ee\u5f55(\/root\/.getssl\/*.tookii.cn)\u7684\u6587\u4ef6\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"858\" height=\"244\" src=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72474.png\" alt=\"\" class=\"wp-image-378\" srcset=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72474.png 858w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72474-300x85.png 300w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72474-768x218.png 768w\" sizes=\"auto, (max-width: 858px) 100vw, 858px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u81ea\u52a8\u66f4\u65b0<\/strong><\/h2>\n\n\n\n<p>\u6dfb\u52a0cron\u4efb\u52a1\uff0c\u6267\u884c\u547d\u4ee4\uff08crontab -e\uff09\u5728\u6253\u5f00\u7684\u6587\u4ef6\u672b\u5c3e\uff0c\u65b0\u589e\u4e00\u884c\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-475b8ee3298e7b396a1baf986d77d1b7\"><code>23 &nbsp;5 * * * \/root\/scripts\/getssl -u -a -q<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u9a8c\u8bc1\u901a\u914d\u7b26\/\u6cdb\u57df\u540d\u8bc1\u4e66\u662f\u5426\u6b63\u5e38<\/strong><\/h2>\n\n\n\n<p>\u901a\u8fc7\u914d\u7f6e\u4e3b\u57df\u540d(tookii.cn)\u548c\u4e8c\u7ea7\u57df\u540d(test.tookii.cn)\u4f7f\u7528\u901a\u914d\u7b26SSL\u8bc1\u4e66\uff0c\u9a8c\u8bc1\u8bc1\u4e66\u4f7f\u7528\u662f\u5426\u6b63\u5e38\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Nginx\u914d\u7f6e<\/h3>\n\n\n\n<pre class=\"wp-block-code has-cyan-bluish-gray-background-color has-background\"><code># vi \/etc\/nginx\/nginx.conf<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u4e3b\u57df\u540dtookii.cn\u9a8c\u8bc1<\/strong><\/h3>\n\n\n\n<p><strong>Nginx\u914d\u7f6e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-68e36e260322adfad4faa45982600b36\"><code>server {\n        listen       443 ssl http2 default_server;\n        listen       &#91;::]:443 ssl http2 default_server;\n\n        server_name  www.tookii.cn  tookii.cn;\n\n        ssl_certificate \"\/opt\/ssl\/tookii.cn\/*.tookii.cn.crt\";\n        ssl_certificate_key \"\/opt\/ssl\/tookii.cn\/*.tookii.cn.key\";\n\n        ssl_session_cache shared:SSL:1m;\n        ssl_session_timeout  5m;\n        ssl_protocols TLSv1.2 TLSv1.3;\n        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;\n        ssl_prefer_server_ciphers on;\n\n        location \/ {\n            root    \/usr\/share\/nginx\/tookii.cn\/www;\n            try_files $uri $uri\/ \/index.html;\n        }\n }<\/code><\/pre>\n\n\n\n<p><strong>\u67e5\u770b\u8bc1\u4e66\u662f\u5426\u6b63\u5e38<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" src=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e3b\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26\u57df\u540dSSL\u8bc1\u4e66-1024x551.jpg\" alt=\"\" class=\"wp-image-383\" srcset=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e3b\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26\u57df\u540dSSL\u8bc1\u4e66-1024x551.jpg 1024w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e3b\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26\u57df\u540dSSL\u8bc1\u4e66-300x162.jpg 300w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e3b\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26\u57df\u540dSSL\u8bc1\u4e66-768x413.jpg 768w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e3b\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26\u57df\u540dSSL\u8bc1\u4e66-1536x827.jpg 1536w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e3b\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26\u57df\u540dSSL\u8bc1\u4e66-2048x1103.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u4e8c\u7ea7\u57df\u540dtest.tookii.cn\u9a8c\u8bc1<\/strong><\/h3>\n\n\n\n<p><strong>Nginx\u914d\u7f6e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-6191f769effc6d09d5d2cf859f8811a9\"><code>server {\n        listen       443 ssl http2;\n        listen       &#91;::]:443 ssl http2;\n\n        server_name test.tookii.cn;\n\n        ssl_certificate \"\/opt\/ssl\/tookii.cn\/*.tookii.cn.crt\";\n        ssl_certificate_key \"\/opt\/ssl\/tookii.cn\/*.tookii.cn.key\";\n\n        ssl_session_cache shared:SSL:1m;\n        ssl_session_timeout  5m;\n        ssl_protocols TLSv1.2 TLSv1.3;\n        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;\n        ssl_prefer_server_ciphers on;\n\n        location \/ {\n            proxy_pass http:\/\/10.0.8.7:9002\/;\n            proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;\n        }\n\n}<\/code><\/pre>\n\n\n\n<p><strong>\u67e5\u770b\u8bc1\u4e66\u662f\u5426\u6b63\u5e38<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"720\" src=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e8c\u7ea7\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26ssl\u8bc1\u4e66-1024x720.jpg\" alt=\"\" class=\"wp-image-384\" srcset=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e8c\u7ea7\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26ssl\u8bc1\u4e66-1024x720.jpg 1024w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e8c\u7ea7\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26ssl\u8bc1\u4e66-300x211.jpg 300w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e8c\u7ea7\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26ssl\u8bc1\u4e66-768x540.jpg 768w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e8c\u7ea7\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26ssl\u8bc1\u4e66-1536x1081.jpg 1536w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u4e8c\u7ea7\u57df\u540d\u4f7f\u7528\u901a\u914d\u7b26ssl\u8bc1\u4e66-2048x1441.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u53c2\u8003<\/strong><\/h2>\n\n\n\n<p><a href=\"https:\/\/letsencrypt.org\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/letsencrypt.org<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/srvrco\/getssl\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/srvrco\/getssl<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/gitee.com\/mirrors_srvrco\/getssl\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/gitee.com\/mirrors_srvrco\/getssl<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/srvrco\/getssl\/wiki\/Guide-to-getting-a-certificate-for-example.com-and-www.example.com\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/srvrco\/getssl\/wiki\/Guide-to-getting-a-certificate-for-example.com-and-www.example.com<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e38\u89c1\u95ee\u9898<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u95ee\u98981\uff1a\u5728\u521b\u5efa\u8bc1\u4e66\u7684\u65f6\u5019\u62a5\u9519\uff1aDomain name xxx is redundant with a wildcard domain in the same request.<\/h3>\n\n\n\n<pre class=\"wp-block-code has-vivid-red-color has-cyan-bluish-gray-background-color has-text-color has-background has-link-color wp-elements-a036a5ec2a82902b21d5be4d3a361280\"><code>ACME server returned error: 400:   \n\"detail\": \"Error creating new order :: Domain name \\\"www.tookii.cn\\\" is redundant with a wildcard domain in the same request. Remove one or the other from the certificate request.\"<\/code><\/pre>\n\n\n\n<p><strong>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/strong><\/p>\n\n\n\n<p>\u6253\u5f00 ~\/.getssl\/*.tookii.cn\/getssl.cfg<\/p>\n\n\n\n<p>\u628a SANS=&#8221;tookii.cn,www.tookii.cn&#8221;<\/p>\n\n\n\n<p>\u6539\u6210<\/p>\n\n\n\n<p>SANS=&#8221;tookii.cn&#8221;<\/p>\n\n\n\n<p>\u4e5f\u5c31\u662f\uff0c\u53bb\u6389\u9519\u8bef\u4fe1\u606f\u4e2d\u63d0\u793a\u91cd\u590d\u7684www\u5f00\u5934\u7684\u57df\u540d\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u4fee\u6539\u540e\uff0c\u518d\u6b21\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u751f\u6210\u901a\u914d\u7b26\u57df\u540d\u8bc1\u4e66\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-97c4baedc6106d0873c8104fa50f7e01\"><code>~\/scripts\/getssl \"*.tookii.cn\"<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u95ee\u98982\uff1a\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u62a5\u9519 errno: 600001 request:fail net::ERR_CERT_AUTHORITY_INVALID<\/h3>\n\n\n\n<p>\u95ee\u9898\u63cf\u8ff0\uff1a\u914d\u7f6e\u4e86\u901a\u7528\u7b26\u57df\u540dSSL\u8bc1\u4e66\uff0c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u6b63\u5e38\uff0c\u4f46\u662f\u5728\u5c0f\u7a0b\u5e8f\u8bbf\u95eeAPI\uff08https\uff09\u65f6\u5019\uff0c\u8c03\u8bd5\u63a5\u53e3\u53d1\u73b0\u62a5\u4ee5\u4e0a\u9519\u8bef\u3002<\/p>\n\n\n\n<p>\u9519\u8bef\u539f\u56e0\uff0c\u5176\u4e2d\u7531\u4e00\u6761\u662f\u8981\u6c42\uff0c\u8bc1\u4e66\u4fe1\u4efb\u94fe\u5fc5\u987b\u5b8c\u6574\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"896\" src=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72475-1024x896.png\" alt=\"\" class=\"wp-image-405\" srcset=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72475-1024x896.png 1024w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72475-300x262.png 300w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72475-768x672.png 768w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72475-1536x1344.png 1536w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72475.png 1644w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/strong><\/p>\n\n\n\n<p>\u5728\u76ee\u5f55\u00a0~\/.getssl\/*.tookii.cn\/\u76ee\u5f55\u4e0b\uff0c\u627e\u5230fullchain.crt\u6587\u4ef6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"310\" src=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72476.png\" alt=\"\" class=\"wp-image-406\" srcset=\"https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72476.png 1020w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72476-300x91.png 300w, https:\/\/bbstone.cn\/wp-content\/uploads\/2024\/11\/\u56fe\u72476-768x233.png 768w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/figure>\n\n\n\n<p>&nbsp;`fullchain.crt`\uff1a\u662f `*.tookii.cn.crt` \u548c `chain.crt` \u7684\u7ec4\u5408\uff0c\u5305\u542b\u4e86\u670d\u52a1\u5668\u8bc1\u4e66\u548c\u8bc1\u4e66\u94fe\u3002<\/p>\n\n\n\n<p>\u56e0\u6b64\u5728Nginx\u914d\u7f6eSSL\u8bc1\u4e66\u7684\u65f6\u5019\uff0c\u4f7f\u7528 fullchain.crt&nbsp;\u66ff\u6362 *.tookii.cn.crt \u5373\u53ef\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-bfc132928a0477eca7e5c8f1268c11e8\"><code>ssl_certificate \"\/opt\/ssl\/tookii.cn\/<strong>fullchain.crt<\/strong>\";\nssl_certificate_key \"\/opt\/ssl\/tookii.cn\/*.tookii.cn.key\";<\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u514d\u8d39SSL\u8bc1\u4e66\uff0c\u4e00\u6b21\u521b\u5efa\uff0c\u6c38\u4e45\u514d\u8d39\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[25,26,12],"class_list":["post-369","post","type-post","status-publish","format-standard","hentry","category-7","tag-https","tag-ssl","tag-12"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/bbstone.cn\/index.php?rest_route=\/wp\/v2\/posts\/369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bbstone.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bbstone.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bbstone.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bbstone.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=369"}],"version-history":[{"count":21,"href":"https:\/\/bbstone.cn\/index.php?rest_route=\/wp\/v2\/posts\/369\/revisions"}],"predecessor-version":[{"id":408,"href":"https:\/\/bbstone.cn\/index.php?rest_route=\/wp\/v2\/posts\/369\/revisions\/408"}],"wp:attachment":[{"href":"https:\/\/bbstone.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bbstone.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bbstone.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}