{"id":522,"date":"2024-12-04T21:01:55","date_gmt":"2024-12-04T13:01:55","guid":{"rendered":"https:\/\/www.xieshuoshuo.top\/?p=522"},"modified":"2024-12-04T21:01:56","modified_gmt":"2024-12-04T13:01:56","slug":"%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6","status":"publish","type":"post","link":"https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/","title":{"rendered":"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u51c6\u5907<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u57df\u540d<\/li>\n\n\n\n<li>IP(\u65e080\u4e0e443\u7aef\u53e3)<\/li>\n\n\n\n<li>\u4e00\u4e2a\u89e3\u6790\u81f3<code>IP(\u65e080\u4e0e443\u7aef\u53e3)<\/code>\u7684<code>DNS<\/code>\u8bb0\u5f55<\/li>\n\n\n\n<li>\u8be5\u57df\u540d\u53ef\u4ee5\u6dfb\u52a0<code>TXT<\/code>\u8bb0\u5f55<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u524d\u8a00\u63d0\u8981<\/h2>\n\n\n\n<p>\u5728\u7533\u8bf7SSL\u8bc1\u4e66\u7684\u65f6\u5019\uff0c\u4e00\u822c\u6709\u4e24\u79cd\u65b9\u5f0f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTTP-01\/HTTPS-01 \u9a8c\u8bc1<\/li>\n\n\n\n<li>DNS\u9a8c\u8bc1<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">HTTP-01\/HTTPS-01 \u9a8c\u8bc1<\/h3>\n\n\n\n<p><code>ACME\u534f\u8bae<\/code>\uff08\u7528\u4e8eLet's Encrypt\u7b49\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff09\u9ed8\u8ba4\u8981\u6c42\u5728 <strong>80\u7aef\u53e3\uff08HTTP\uff09\u548c443\u7aef\u53e3\uff08HTTPS<\/strong> \u4e0a\u8fdb\u884c\u57df\u540d\u9a8c\u8bc1\uff0c\u7279\u522b\u662f\u5728 <strong>HTTP-01<\/strong> \u9a8c\u8bc1\u65b9\u6cd5\u4e0b\uff0c\u901a\u5e38\u9700\u8981\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u6765\u9a8c\u8bc1\u57df\u540d\u6240\u6709\u6743\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>80\u7aef\u53e3\uff08HTTP\uff09<\/strong>\uff1a\u7528\u4e8eACME\u8bc1\u4e66\u7533\u8bf7\u8fc7\u7a0b\u4e2d\u7684 <strong>HTTP-01<\/strong>\u9a8c\u8bc1\u3002\u5f53\u4f7f\u7528ACME\u5ba2\u6237\u7aef\uff08\u5982 <code>acme.sh<\/code>\uff09\u7533\u8bf7\u8bc1\u4e66\u65f6\uff0c\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u4f1a\u5c1d\u8bd5\u901a\u8fc7HTTP\u534f\u8bae\u8bbf\u95ee\u4f60\u7684\u670d\u52a1\u5668\u7684\u67d0\u4e2a\u7279\u5b9a\u8def\u5f84\uff08\u4f8b\u5982 <code>http:\/\/example.com\/.well-known\/acme-challenge\/<\/code> \uff09\uff0c\u4ee5\u786e\u4fdd\u4f60\u5bf9\u8be5\u57df\u540d\u5177\u6709\u63a7\u5236\u6743\u3002HTTP \u662f\u4e3a\u4e86\u786e\u4fdd\u9a8c\u8bc1\u8fc7\u7a0b\u4e0d\u53d7HTTPS\u914d\u7f6e\u7684\u5e72\u6270\u3002<\/li>\n\n\n\n<li><strong>443\u7aef\u53e3\uff08HTTPS\uff09<\/strong>\uff1a\u7528\u4e8eHTTPS\u534f\u8bae\uff0c\u4e5f\u5c31\u662f\u6700\u7ec8\u90e8\u7f72\u8bc1\u4e66\u7684\u7aef\u53e3\u3002\u5c3d\u7ba1\u8bc1\u4e66\u7533\u8bf7\u8fc7\u7a0b\u4e2d\u9700\u8981HTTP-01\u9a8c\u8bc1\uff0c\u4f46\u6700\u7ec8\u8bc1\u4e66\u5c06\u9002\u7528\u4e8eHTTPS\u534f\u8bae\uff0c\u56e0\u6b64\u7aef\u53e3443\u5fc5\u987b\u662f\u5f00\u653e\u7684\uff0c\u4e14\u80fd\u591f\u901a\u8fc7HTTPS\u8bbf\u95ee\u4f60\u7684\u7f51\u7ad9\u3002<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48\u5fc5\u987b\u662f80\u548c443\u7aef\u53e3\uff1f<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>80\u7aef\u53e3\uff08HTTP\uff09<\/strong>\uff1a\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u9700\u8981\u5728\u9a8c\u8bc1\u8fc7\u7a0b\u4e2d\u4f7f\u7528HTTP\u534f\u8bae\uff0c\u7279\u522b\u662f\u5728 <code>HTTP-01<\/code> \u9a8c\u8bc1\u65b9\u6cd5\u4e0b\u3002\u5373\u4f7f\u4f60\u6700\u7ec8\u4e0d\u6253\u7b97\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528HTTP\uff08\u4f8b\u5982\uff0c\u5f3a\u5236\u4f7f\u7528HTTPS\uff09\uff0c\u9a8c\u8bc1\u8fc7\u7a0b\u4ecd\u7136\u8981\u6c42HTTP\u7aef\u53e3\u5f00\u653e\uff0c\u4ee5\u5b8c\u6210ACME\u6311\u6218\u3002<\/li>\n\n\n\n<li><strong>443\u7aef\u53e3\uff08HTTPS\uff09<\/strong>\uff1a\u867d\u7136\u7533\u8bf7\u8bc1\u4e66\u65f6\u662f\u901a\u8fc7HTTP\u6765\u9a8c\u8bc1\u57df\u540d\u6240\u6709\u6743\uff0c\u4f46\u6700\u7ec8\u8bc1\u4e66\u5c06\u7528\u4e8eHTTPS\uff0c\u56e0\u6b64\u9700\u8981\u786e\u4fdd\u8be5\u7aef\u53e3\u5f00\u653e\u4e14\u914d\u7f6e\u6b63\u786e\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u5176\u4ed6\u7aef\u53e3\u9009\u9879\uff08DNS\u9a8c\u8bc1\uff09<\/h3>\n\n\n\n<p>\u5982\u679c\u4f60\u4e0d\u5e0c\u671b\u5f00\u653e80\u548c443\u7aef\u53e3\uff0c\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u9a8c\u8bc1\u65b9\u5f0f\uff0c\u6bd4\u5982 <strong>DNS-01 \u9a8c\u8bc1<\/strong>\u3002\u4f7f\u7528 DNS\u9a8c\u8bc1\u65f6\uff0cACME\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u4f1a\u901a\u8fc7\u67e5\u8be2DNS\u8bb0\u5f55\u6765\u9a8c\u8bc1\u4f60\u5bf9\u57df\u540d\u7684\u63a7\u5236\u6743\uff0c\u800c\u4e0d\u9700\u8981\u8bbf\u95eeHTTP\u7aef\u53e3\u3002<strong>DNS-01<\/strong>\u9a8c\u8bc1\u9002\u7528\u4e8e\u4e0d\u80fd\u5f00\u653eHTTP\u7aef\u53e3\u7684\u60c5\u51b5\uff0c\u4f46\u76f8\u5bf9\u590d\u6742\uff0c\u9700\u8981\u4f60\u914d\u7f6eDNS\u8bb0\u5f55\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f7f\u7528 DNS-01 \u9a8c\u8bc1\u65b9\u5f0f<\/h2>\n\n\n\n<p>\u5728DNS-01\u9a8c\u8bc1\u6a21\u5f0f\u4e0b\uff0cACME\u5ba2\u6237\u7aef\uff08\u5982 <code>acme.sh<\/code>\uff09\u4f1a\u8981\u6c42\u4f60\u5728\u57df\u540d\u7684DNS\u8bbe\u7f6e\u4e2d\u6dfb\u52a0\u4e00\u6761\u7279\u5b9a\u7684TXT\u8bb0\u5f55\u3002\u8be5\u8bb0\u5f55\u7528\u4e8e\u8bc1\u660e\u4f60\u5bf9\u8be5\u57df\u540d\u7684\u63a7\u5236\u6743\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f7f\u7528 <code>acme.sh<\/code> \u83b7\u53d6\u8bc1\u4e66\u7684\u6b65\u9aa4\uff1a<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u5b89\u88c5 acme.sh\uff08\u5982\u679c\u8fd8\u6ca1\u6709\u5b89\u88c5\uff09<\/strong>\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>curl https:\/\/get.acme.sh | sh<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528 DNS-01 \u9a8c\u8bc1\u7533\u8bf7\u8bc1\u4e66<\/strong>\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>acme.sh --issue --dns -d example.com<\/code><\/pre>\n\n\n\n<p>\u8fd9\u91cc\uff0c<code>-d<\/code> \u540e\u9762\u8ddf\u7740\u4f60\u8981\u7533\u8bf7\u8bc1\u4e66\u7684\u57df\u540d\u3002<code>--dns<\/code> \u53c2\u6570\u8868\u793a\u4f7f\u7528DNS\u9a8c\u8bc1\u3002<\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>\u751f\u6210\u7684DNS\u8bb0\u5f55<\/strong>\uff1a \u5f53\u4f60\u8fd0\u884c\u4e0a\u8ff0\u547d\u4ee4\u65f6\uff0c<code>acme.sh<\/code>\u4f1a\u8f93\u51fa\u4e00\u6761\u63d0\u793a\uff0c\u544a\u8bc9\u4f60\u9700\u8981\u5728DNS\u4e2d\u6dfb\u52a0\u7684\u7684TXT\u8bb0\u5f55\u3002\u4f8b\u5982\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>DNS entry for _acme-challenge.example.com:\nacme-challenge.example.com.  300  IN  TXT  \"abcdefg12345xyz...\"<\/code><\/pre>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li><strong>\u5728DNS\u4e2d\u6dfb\u52a0TXT\u8bb0\u5f55<\/strong>\uff1a \u767b\u5f55\u5230\u4f60\u7684DNS\u670d\u52a1\u63d0\u4f9b\u5546\u7684\u63a7\u5236\u53f0\uff08\u5982Cloudflare\u3001Route 53\u3001GoDaddy\u7b49\uff09\uff0c\u5e76\u6dfb\u52a0\u4e0a\u9762\u7ed9\u51fa\u7684TXT\u8bb0\u5f55\uff0c\u901a\u5e38\u8bb0\u5f55\u7684\u540d\u79f0\u662f <code>_acme-challenge.example.com<\/code>\uff0c\u503c\u662f <code>abcdefg12345xyz...<\/code>\u3002<\/li>\n<\/ol>\n\n\n\n<p><strong>\u6ce8\u610f<\/strong>\uff1aDNS\u8bb0\u5f55\u7684\u4f20\u64ad\u53ef\u80fd\u9700\u8981\u51e0\u5206\u949f\u5230\u51e0\u5c0f\u65f6\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u4f60\u7684DNS\u670d\u52a1\u63d0\u4f9b\u5546\u3002<\/p>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li><strong>\u9a8c\u8bc1\u5e76\u9881\u53d1\u8bc1\u4e66<\/strong>\uff1a \u5f53DNS\u8bb0\u5f55\u751f\u6548\u540e\uff0c\u8fd4\u56de\u5230\u7ec8\u7aef\u4e2d\u6267\u884c\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>acme.sh --renew -d example.com --dns<\/code><\/pre>\n\n\n\n<p>\u8fd9\u5c06\u5b8c\u6210\u9a8c\u8bc1\u8fc7\u7a0b\uff0c\u5e76\u9881\u53d1\u8bc1\u4e66\u3002<\/p>\n\n\n\n<p>\u5b89\u88c5\u8bc1\u4e66\uff1a \u83b7\u53d6\u8bc1\u4e66\u540e\uff0c\u4f60\u53ef\u4ee5\u5c06\u5176\u5b89\u88c5\u5230\u4f60\u7684\u670d\u52a1\u5668\u4e0a\uff0c\u901a\u5e38\u8bc1\u4e66\u4f1a\u88ab\u5b58\u50a8\u5728 <code>~\/.acme.sh<\/code> \u76ee\u5f55\u4e0b\u3002\u4f8b\u5982\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/.acme.sh\/example.com\/fullchain.cer  # \u8bc1\u4e66\u6587\u4ef6\n~\/.acme.sh\/example.com\/example.com.key  # \u79c1\u94a5\u6587\u4ef6<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u914d\u7f6e\u81ea\u52a8\u66f4\u65b0<\/h2>\n\n\n\n<p>\u4f7f\u7528DNS\u9a8c\u8bc1\u65f6\uff0c\u6bcf\u4e2a\u8bc1\u4e66\u90fd\u6709\u6709\u6548\u671f\uff08\u901a\u5e38\u662f90\u5929\uff09\u3002\u4e3a\u4e86\u81ea\u52a8\u66f4\u65b0\u8bc1\u4e66\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e2a\u5b9a\u65f6\u4efb\u52a1\uff08\u5982cron job\uff09\uff0c\u8ba9 <code>acme.sh<\/code> \u81ea\u52a8\u68c0\u67e5\u5e76\u66f4\u65b0\u8bc1\u4e66\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>crontab -e<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\u4ee5\u81ea\u52a8\u66f4\u65b0\u8bc1\u4e66\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>0 0 * * * ~\/.acme.sh\/acme.sh --cron --home ~\/.acme.sh &gt; \/dev\/null<\/code><\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>\u5176\u4ed6DNS\u9a8c\u8bc1\u5de5\u5177<br>\u5982\u679c\u4f60\u4e0d\u60f3\u4f7f\u7528 <code>acme.sh<\/code>\uff0c\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u652f\u6301DNS\u9a8c\u8bc1\u7684ACME\u5ba2\u6237\u7aef\uff08\u4f8b\u5982 <strong>Certbot<\/strong>\uff09\u6765\u8fdb\u884cDNS\u9a8c\u8bc1\u3002\u5927\u90e8\u5206\u73b0\u4ee3ACME\u5ba2\u6237\u7aef\u90fd\u652f\u6301DNS-01\u9a8c\u8bc1\uff0c\u53ea\u662f\u5177\u4f53\u914d\u7f6e\u6b65\u9aa4\u53ef\u80fd\u4e0d\u540c\u3002<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u95ee\u9898<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. -bash: acme.sh: command not found<\/h3>\n\n\n\n<p>\u8fd9\u901a\u5e38\u662f\u56e0\u4e3a <code>acme.sh<\/code> \u6ca1\u6709\u6b63\u786e\u5b89\u88c5\u6216\u8005\u6ca1\u6709\u5728 <code>PATH<\/code> \u4e2d\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u89e3\u51b3\u6b65\u9aa4\uff1a<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">1. \u6267\u884c <code>acme.sh<\/code> \u811a\u672c\u65f6\u7684\u8def\u5f84\u95ee\u9898<\/h5>\n\n\n\n<p><code>acme.sh<\/code>\u4e00\u822c\u5b89\u88c5\u5728\u5f53\u524d\u8def\u5f84\u5185\uff0c\u6211\u4e00\u822c\u662f<code>root<\/code>\u76ee\u5f55\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~# cd .acme.sh\/\n~\/.acme.sh# acme.sh --issue --dns -d example.com\n-bash: acme.sh: command not found\n~\/.acme.sh# ls\naccount.conf  acme.sh.env  deploy  http.header       notify\nacme.sh       ca           dnsapi  example.com_ecc\n~\/.acme.sh#<\/code><\/pre>\n\n\n\n<p>\u8fdb\u5165 <code>.acme.sh<\/code>\u76ee\u5f55\uff0c\u53ef\u4ee5\u770b\u5230 <code>acme.sh<\/code> \u811a\u672c\u6587\u4ef6\u3002\u95ee\u9898\u662f\uff0c\u5f53\u524d\u76ee\u5f55\u4e0b\u7684 <code>acme.sh<\/code>\u6ca1\u6709\u88ab\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684 <code>PATH<\/code> \u4e2d\uff0c\u6240\u4ee5\u76f4\u63a5\u8fd0\u884c <code>acme.sh<\/code> \u4f1a\u63d0\u793a\u201ccommand not found\u201d\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u8fd0\u884c\u5b83\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/acme.sh --issue --dns -d example.com<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528 <code>.\/<\/code>\u6765\u8868\u793a\u4f60\u5f53\u524d\u76ee\u5f55\u4e2d\u7684 <code>acme.sh<\/code> \u811a\u672c\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">2. \u5c06 <code>acme.sh<\/code> \u6dfb\u52a0\u5230\u7cfb\u7edf <code>PATH<\/code><\/h5>\n\n\n\n<p>\u4e3a\u4e86\u65b9\u4fbf\u6bcf\u6b21\u90fd\u80fd\u76f4\u63a5\u8fd0\u884c <code>acme.sh<\/code>\uff0c\u4f60\u53ef\u4ee5\u5c06\u5b83\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684 <code>PATH<\/code>\u4e2d\u3002\u8fd9\u6837\uff0c\u4f60\u5c31\u53ef\u4ee5\u5728\u4efb\u4f55\u5730\u65b9\u8fd0\u884c <code>acme.sh<\/code> \u800c\u4e0d\u9700\u8981\u6bcf\u6b21\u90fd\u8fdb\u5165 <code>.acme.sh<\/code> \u76ee\u5f55\u3002<\/p>\n\n\n\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5c06 <code>acme.sh<\/code> \u7684\u8def\u5f84\u6dfb\u52a0\u5230 <code>PATH<\/code> \u4e2d\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"export PATH=\\$PATH:\/root\/.acme.sh\" &gt;&gt; ~\/.bashrc\nsource ~\/.bashrc<\/code><\/pre>\n\n\n\n<p>\u8fd9\u4f1a\u5c06 <code>.acme.sh<\/code> \u76ee\u5f55\u6dfb\u52a0\u5230\u4f60\u7684\u7528\u6237\u7684 <code>PATH<\/code> \u53d8\u91cf\u4e2d\u3002\u7136\u540e\u5c31\u53ef\u4ee5\u5728\u4efb\u4f55\u4f4d\u7f6e\u8fd0\u884c <code>acme.sh<\/code> \u4e86\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">3. \u68c0\u67e5 <code>acme.sh<\/code> \u662f\u5426\u6b63\u786e\u5b89\u88c5<\/h5>\n\n\n\n<p>\u5982\u679c\u4e0a\u8ff0\u65b9\u6cd5\u4ecd\u7136\u65e0\u6cd5\u89e3\u51b3\u95ee\u9898\uff0c\u53ef\u80fd\u662f <code>acme.sh<\/code> \u6ca1\u6709\u6b63\u786e\u5b89\u88c5\u3002\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u91cd\u65b0\u5b89\u88c5 <code>acme.sh<\/code>\uff0c\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\ncurl https:\/\/get.acme.sh | sh<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u786e\u4fdd\u8fd0\u884c <code>acme.sh<\/code> \u65f6\u80fd\u591f\u5728\u4efb\u4f55\u5730\u65b9\u8bbf\u95ee\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">4. \u4f7f\u7528 <code>acme.sh<\/code> \u7533\u8bf7\u8bc1\u4e66\uff08DNS-01\uff09<\/h5>\n\n\n\n<p>\u786e\u4fdd\u4f60\u5df2\u7ecf\u6b63\u786e\u8fd0\u884c\u4e86 <code>acme.sh<\/code>\uff0c\u7136\u540e\u4f7f\u7528 DNS-01 \u9a8c\u8bc1\u6765\u7533\u8bf7\u8bc1\u4e66\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/acme.sh --issue --dns -d example.com<\/code><\/pre>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u63d0\u793a\u4f60\u9700\u8981\u5728DNS\u4e2d\u6dfb\u52a0TXT\u8bb0\u5f55\u8fdb\u884c\u57df\u540d\u9a8c\u8bc1\u3002\u6839\u636e\u8f93\u51fa\u7684\u4fe1\u606f\uff0c\u5728\u4f60\u7684DNS\u670d\u52a1\u63d0\u4f9b\u5546\u5904\u6dfb\u52a0\u8bb0\u5f55\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. It seems that you are using dns manual mode. Read this link first<\/h3>\n\n\n\n<p>\u63d0\u793a\u4e3a\uff1a\u6b63\u5728\u4f7f\u7528 <strong>DNS\u624b\u52a8\u6a21\u5f0f<\/strong> (<code>dns manual mode<\/code>) \u6765\u7533\u8bf7\u8bc1\u4e66\u3002<code>acme.sh<\/code> \u63d0\u793a\u4f60\u9700\u8981\u5728DNS\u4e2d\u624b\u52a8\u6dfb\u52a0TXT\u8bb0\u5f55\u4ee5\u8fdb\u884c\u57df\u540d\u9a8c\u8bc1<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u89e3\u51b3\u6b65\u9aa4<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">1. \u6253\u5f00\u6240\u7ed9\u7684\u94fe\u63a5<\/h5>\n\n\n\n<p><a href=\"https:\/\/github.com\/acmesh-official\/acme.sh\/wiki\/dns-manual-mode\" target=\"_blank\"  rel=\"nofollow\" >DNS \u624b\u52a8\u6a21\u5f0f<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u4ee5\u4e0b\u662f\u94fe\u63a5\u8bb0\u5f55<br>\u8b66\u544a\uff1aDNS \u624b\u52a8\u6a21\u5f0f\u65e0\u6cd5\u81ea\u52a8\u7eed\u8ba2\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u7684\u57df\u63d0\u4f9b\u5546\u63d0\u4f9b DNS API\uff0c\u5f3a\u70c8\u5efa\u8bae\u6539\u7528 DNS API \u6a21\u5f0f\u3002\u4f7f\u7528 DNS API \u6a21\u5f0f\uff0c\u60a8\u53ef\u4ee5\u81ea\u52a8\u7eed\u8ba2\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u7684\u57df\u540d\u63d0\u4f9b\u5546<strong>\u6ca1\u6709<\/strong>\u63d0\u4f9b\u53ef\u7528\u4e8e\u6dfb\u52a0\/\u7f16\u8f91\u57df\u7684 TXT \u8bb0\u5f55\u7684 API\uff0c\u5219\u5efa\u8bae\u4f7f\u7528 <a href=\"https:\/\/github.com\/Neilpang\/acme.sh\/wiki\/DNS-alias-mode\" target=\"_blank\"  rel=\"nofollow\" >DNS \u522b\u540d\u6a21\u5f0f<\/a>\u3002\u6216\u8005\u5c06\u57df\u7684 dns \u670d\u52a1\u5668\u66f4\u6539\u4e3a\u652f\u6301 DNS api \u7684\u4efb\u4f55\u4eba\u3002<\/p>\n\n\n\n<p>\u5e94\u4f7f\u7528 DNS \u624b\u52a8\u6a21\u5f0f\u8fdb\u884c\u6d4b\u8bd5\u3002\u5982\u679c\u60a8\u786e\u5b9e\u5c06\u5176\u7528\u4e8e\u751f\u4ea7\u670d\u52a1\u5668\uff0c\u8bf7\u8bb0\u5f97\u5728 90 \u5929\u5185\u7eed\u8ba2\u60a8\u7684\u8bc1\u4e66\u3002<a href=\"https:\/\/github.com\/Neilpang\/acme.sh\/issues\/1029\" target=\"_blank\"  rel=\"nofollow\" >\u8bf7\u786e\u4fdd\u60a8\u4e86\u89e3 DNS \u624b\u52a8\u6a21\u5f0f<\/a>\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u7b2c\u4e00\u6b65\uff1a<\/li>\n<\/ol>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code>acme.sh --issue -d example.com --dns \\\n --yes-I-know-dns-manual-mode-enough-go-ahead-please<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<ol start=\"2\" class=\"wp-block-list\">\n<li>\u8bf7\u5c06 TXT \u8bb0\u5f55\u6dfb\u52a0\u5230\u60a8\u7684 DNS \u8bb0\u5f55\u4e2d\u3002\u6bcf\u6b21\u7eed\u8ba2\u8bc1\u4e66\u65f6\u90fd\u9700\u8981\u6267\u884c\u6b64\u6b65\u9aa4\u3002\u4f7f\u7528 DNS API \u6a21\u5f0f\uff0c\u6b64\u6b65\u9aa4\u53ef\u4ee5\u81ea\u52a8\u6267\u884c\u3002<\/li>\n\n\n\n<li>\u73b0\u5728\u4f7f\u7528 command \u91cd\u8bd5\u3002<code>--renew<\/code><\/li>\n<\/ol>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code>acme.sh --renew -d example.com \\\n  --yes-I-know-dns-manual-mode-enough-go-ahead-please<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u5982\u679c\u5728\u4f7f\u7528 renew \u65f6 DNS _acme\u8d28\u8be2\u5931\u8d25\uff0c\u5219\u76f8\u5e94\u7684 CA \u5c06\u751f\u6210\u65b0\u7684 _acme\u8d28\u8be2\uff0c\u8bf7\u786e\u4fdd\u7b49\u5f85 1 \u5206\u949f\u4ee5\u53cd\u6620 DNS \u6761\u76ee\uff0c\u7136\u540e\u518d\u4f7f\u7528 renew\u3002<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u5982\u679c\u60a8\u5df2\u4f7f\u7528 SHA CSR \u9881\u53d1\u4e86\u6682\u5b58\/\u751f\u4ea7\u8bc1\u4e66\uff0c\u8bf7\u4f7f\u7528 --force \u5f00\u5173\u8986\u76d6\u65e7 CER \u7684\u4efb\u4f55\u6761\u76ee\u5e76\u9881\u53d1\u65b0\u7684 CER\u3002<\/strong><\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code>acme.sh --renew -d example.com \\\n --yes-I-know-dns-manual-mode-enough-go-ahead-please --force <\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u5982\u679c\u60a8\u5df2\u4f7f\u7528 ECC CSR \u9881\u53d1\u4e86\u6682\u5b58\/\u751f\u4ea7\u8bc1\u4e66\uff0c\u8bf7\u4f7f\u7528 --ecc --force \u5f00\u5173\u8986\u76d6\u65e7 CER \u7684\u4efb\u4f55\u6761\u76ee\u5e76\u9881\u53d1\u65b0\u7684 CER\u3002<\/strong><\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code>acme.sh --renew -d example.com  \\\n --yes-I-know-dns-manual-mode-enough-go-ahead-please --ecc --force <\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">2. \u8f93\u5165\u547d\u4ee4\u5e76\u6dfb\u52a0 DNS TXT \u8bb0\u5f55<\/h5>\n\n\n\n<p>\u6309\u7167\u6587\u6863\uff0c\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801(\u8bf7\u628a <code>example.com<\/code> \u6539\u6210\u81ea\u5df1\u7684\u57df\u540d)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>acme.sh --issue -d example.com --dns \\\n --yes-I-know-dns-manual-mode-enough-go-ahead-please<\/code><\/pre>\n\n\n\n<p>\u53ef\u80fd\u8f93\u51fa\u7c7b\u4f3c\u4e8e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/.acme.sh# .\/acme.sh --issue -d example.com --dns \\\n&gt;  --yes-I-know-dns-manual-mode-enough-go-ahead-please\n&#91;Tue 19 Nov 2024 06:32:29 AM UTC] Using CA: https:\/\/acme-v02.api.letsencrypt.org\/directory\n&#91;Tue 19 Nov 2024 06:32:29 AM UTC] Single domain='example.com'\n&#91;Tue 19 Nov 2024 06:32:33 AM UTC] Getting webroot for domain='example.com'\n&#91;Tue 19 Nov 2024 06:32:33 AM UTC] Add the following TXT record:\n&#91;Tue 19 Nov 2024 06:32:33 AM UTC] Domain: '_acme-challenge.example.com'\n&#91;Tue 19 Nov 2024 06:32:33 AM UTC] TXT value: 'pxwylohwOqS97C_vTiGvfMr-o7oDlX0zeOlJvYSzH9I'\n&#91;Tue 19 Nov 2024 06:32:34 AM UTC] Please make sure to prepend '_acme-challenge.' to your domain\n&#91;Tue 19 Nov 2024 06:32:34 AM UTC] so that the resulting subdomain is: _acme-challenge.example.com\n&#91;Tue 19 Nov 2024 06:32:34 AM UTC] Please add the TXT records to the domains, and re-run with --renew.\n&#91;Tue 19 Nov 2024 06:32:34 AM UTC] Please add '--debug' or '--log' to see more information.\n&#91;Tue 19 Nov 2024 06:32:34 AM UTC] See: https:\/\/github.com\/acmesh-official\/acme.sh\/wiki\/How-to-debug-acme.sh\n~\/.acme.sh#<\/code><\/pre>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\u8f93\u51fa\u4e2d\u7684\u63d0\u793a\uff0c\u9700\u8981\u6dfb\u52a0 <strong>DNS TXT<\/strong> \u8bb0\u5f55<br>\u5728\u57df\u540d\u7684 <strong>DNS<\/strong> \u914d\u7f6e\u4e2d\uff0c\u6dfb\u52a0\u4e00\u6761 <strong>TXT<\/strong> \u8bb0\u5f55\uff0c\u5177\u4f53\u5982\u4e0b(\u5404\u81ea\u8f93\u51fa\u53ef\u80fd\u4e0d\u540c\uff0c\u770b\u5177\u4f53\u8f93\u51fa)\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u540d\u79f0\uff08Name\uff09: _acme-challenge.example.com<\/li>\n\n\n\n<li>\u503c\uff08Value\uff09: pxwylohwOqS97C_vTiGvfMr-o7oDlX0zeOlJvYSzH9I<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">3. \u7b49\u5f85 DNS \u8bb0\u5f55\u751f\u6548<\/h5>\n\n\n\n<p>DNS \u8bb0\u5f55\u751f\u6548\u65f6\u95f4\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\uff0c\u901a\u5e38\u9700\u8981\u51e0\u5206\u949f\u5230\u51e0\u5c0f\u65f6\u7684\u65f6\u95f4\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u8bb0\u5f55\u4e00\u65e6\u751f\u6548\uff0c\u4f60\u5c31\u53ef\u4ee5\u8fdb\u884c\u9a8c\u8bc1\u3002<\/p>\n\n\n\n<p>\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5 TXT \u8bb0\u5f55\u662f\u5426\u5df2\u6b63\u786e\u4f20\u64ad\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=txt _acme-challenge.example.com<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u8fd4\u56de\u4f60\u521a\u624d\u6dfb\u52a0\u7684 TXT \u8bb0\u5f55\u7684\u503c\uff0c\u8bf4\u660e DNS \u914d\u7f6e\u5df2\u751f\u6548\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">3. \u91cd\u65b0\u8fd0\u884c <code>acme.sh<\/code> \u9a8c\u8bc1<\/h5>\n\n\n\n<p>DNS \u8bb0\u5f55\u6210\u529f\u751f\u6548\u540e\uff0c\u4f60\u53ef\u4ee5\u518d\u6b21\u8fd0\u884c acme.sh \u6765\u5b8c\u6210\u8bc1\u4e66\u7684\u7533\u8bf7\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/acme.sh --renew -d example.com --dns<\/code><\/pre>\n\n\n\n<p><code>acme.sh<\/code> \u4f1a\u81ea\u52a8\u9a8c\u8bc1\u4f60\u5728 DNS \u4e2d\u6dfb\u52a0\u7684 TXT \u8bb0\u5f55\uff0c\u9a8c\u8bc1\u901a\u8fc7\u540e\u5c31\u4f1a\u4e3a\u8be5\u57df\u540d\u9881\u53d1\u8bc1\u4e66\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. TXT\u9a8c\u8bc1\u95ee\u9898<\/h3>\n\n\n\n<p>\u6709\u65f6\u5019\uff0c\u6211\u4eec\u901a\u8fc7<code>nslookup -type=txt _acme-challenge.example.com<\/code>\u547d\u4ee4<br>\u8fd4\u56de\u5185\u5bb9\u4e3a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=txt _acme-challenge.example.com\n\u670d\u52a1\u5668:  UnKnown\nAddress:  192.168.0.1\n\n\u975e\u6743\u5a01\u5e94\u7b54:\n_acme-challenge.example.com    text =\n\n        \"pxwylohwOqS97C_vTiGvfMr-o7oDlX0zeOlJvYSzH9I\"<\/code><\/pre>\n\n\n\n<p>\u4f46\u662f\u4ecd\u63d0\u793a\u4e0b\u9762\u9519\u8bef\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/.acme.sh# .\/acme.sh --issue -d example.com --dns  --yes-I-know-dns-manual-mode-enough-go-ahead-please\n&#91;Tue 19 Nov 2024 08:19:27 AM UTC] Using CA: https:\/\/acme-v02.api.letsencrypt.org\/directory\n&#91;Tue 19 Nov 2024 08:19:27 AM UTC] Single domain='example.com'\n&#91;Tue 19 Nov 2024 08:19:32 AM UTC] Getting webroot for domain='example.com'\n&#91;Tue 19 Nov 2024 08:19:32 AM UTC] Add the following TXT record:\n&#91;Tue 19 Nov 2024 08:19:32 AM UTC] Domain: '_acme-challenge.example.com'\n&#91;Tue 19 Nov 2024 08:19:32 AM UTC] TXT value: 'pxwylohwOqS97C_vTiGvfMr-o7oDlX0zeOlJvYSzH9I'\n&#91;Tue 19 Nov 2024 08:19:32 AM UTC] Please make sure to prepend '_acme-challenge.' to your domain\n&#91;Tue 19 Nov 2024 08:19:32 AM UTC] so that the resulting subdomain is: _acme-challenge.example.com\n&#91;Tue 19 Nov 2024 08:19:32 AM UTC] Please add the TXT records to the domains, and re-run with --renew.\n&#91;Tue 19 Nov 2024 08:19:32 AM UTC] Please add '--debug' or '--log' to see more information.\n&#91;Tue 19 Nov 2024 08:19:32 AM UTC] See: https:\/\/github.com\/acmesh-official\/acme.sh\/wiki\/How-to-debug-acme.sh<\/code><\/pre>\n\n\n\n<p>\u5177\u4f53\u6765\u8bf4\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>nslookup<\/strong> \u547d\u4ee4: \u6210\u529f\u67e5\u8be2\u4e86 <code>_acme-challenge.example.com<\/code> \u8bb0\u5f55\uff0c\u5e76\u83b7\u5f97\u4e86\u6b63\u786e\u7684 TXT \u503c \"pxwylohwOqS97C_vTiGvfMr-o7oDlX0zeOlJvYSzH9I\"\u3002\u8fd9\u8bf4\u660e\u4f60\u7684 DNS \u89e3\u6790\u5df2\u7ecf\u6b63\u786e\u8fd4\u56de\u4e86\u9a8c\u8bc1\u8bb0\u5f55\u3002<\/li>\n\n\n\n<li><code>acme.sh --issue<\/code> \u547d\u4ee4: \u8fd9\u4e2a\u547d\u4ee4\u542f\u52a8\u4e86\u8bc1\u4e66\u7b7e\u53d1\u8fc7\u7a0b\u3002<code>acme.sh<\/code>\u6b63\u786e\u8bc6\u522b\u4e86\u57df\u540d\u5e76\u751f\u6210\u4e86\u5fc5\u8981\u7684 TXT \u8bb0\u5f55\u3002\u4f46\u662f\uff0c\u5b83\u5728\u8fd9\u4e2a\u6b65\u9aa4\u505c\u6b62\u4e86\uff0c\u56e0\u4e3a\u4f60\u9700\u8981\u624b\u52a8\u5c06 TXT \u8bb0\u5f55\u6dfb\u52a0\u5230\u4f60\u7684 DNS \u63d0\u4f9b\u5546\u5904\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u5173\u952e\u7684\u7f3a\u5931\u6b65\u9aa4\u662f\u4f60\u8fd8\u6ca1\u6709\u5c06 TXT \u8bb0\u5f55\u6dfb\u52a0\u5230\u4f60\u7684 DNS \u8bb0\u5f55\u4e2d\u3002 <code>acme.sh<\/code>\u6e05\u6670\u5730\u8bf4\u660e\u4e86\u8fd9\u4e00\u70b9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Tue 19 Nov 2024 08:19:32 AM UTC] Please add the TXT records to the domains, and re-run with --renew.<\/code><\/pre>\n\n\n\n<p>\u53ef\u4ee5\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u767b\u5f55\u4f60\u7684 DNS \u63d0\u4f9b\u5546\u63a7\u5236\u9762\u677f\u3002 (\u4f8b\u5982\uff0cGoDaddy\u3001Cloudflare\u3001Namecheap \u6216\u8005\u4f60\u7684\u670d\u52a1\u5668\u4e3b\u673a\u63a7\u5236\u9762\u677f\u7b49\u3002)<\/li>\n\n\n\n<li>\u6dfb\u52a0\u4e00\u6761\u65b0\u7684 TXT \u8bb0\u5f55\u3002 \u503c\u5982\u4e0b\uff1a<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u540d\u79f0\/\u4e3b\u673a: <code>_acme-challenge.example.com<\/code> (\u786e\u4fdd\u5305\u542b\u5f00\u5934\u7684\u4e0b\u5212\u7ebf)<\/li>\n\n\n\n<li>\u503c\/TTL: \"pxwylohwOqS97C_vTiGvfMr-o7oDlX0zeOlJvYSzH9I\" (<code>acme.sh<\/code> \u63d0\u4f9b\u7684\u503c)<\/li>\n\n\n\n<li>TTL (\u751f\u5b58\u65f6\u95f4): \u8bbe\u7f6e\u4e00\u4e2a\u5408\u7406\u7684\u503c\uff0c\u4f8b\u5982 300 \u79d2 (5 \u5206\u949f) \u6216 3600 \u79d2 (1 \u5c0f\u65f6)\u3002DNS \u63d0\u4f9b\u5546\u53ef\u80fd\u4f1a\u6709\u9ed8\u8ba4\u503c\u3002<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u7b49\u5f85 DNS \u4f20\u64ad\u3002 DNS \u66f4\u6539\u7684\u4f20\u64ad\u53ef\u80fd\u9700\u8981\u51e0\u5206\u949f\u5230\u51e0\u5c0f\u65f6\u4e0d\u7b49\u3002<\/li>\n\n\n\n<li>\u4f7f\u7528 <code>--renew<\/code> \u9009\u9879\u91cd\u65b0\u8fd0\u884c <code>acme.sh<\/code> \u547d\u4ee4\u3002 \u8fd9\u4f1a\u544a\u8bc9 <code>acme.sh<\/code> \u68c0\u67e5 TXT \u8bb0\u5f55\u5e76\u5b8c\u6210\u8bc1\u4e66\u7b7e\u53d1\u3002\u547d\u4ee4\u5982\u4e0b\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/acme.sh --renew -d example.com --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u4e2a\u4eba\u63a8\u8350\u76f4\u63a5\u4f7f\u7528\u7b2c\u56db\u6761<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u51c6\u5907 \u524d\u8a00\u63d0\u8981 \u5728\u7533\u8bf7SSL\u8bc1\u4e66\u7684\u65f6\u5019\uff0c\u4e00\u822c\u6709\u4e24\u79cd\u65b9\u5f0f HTTP-01\/HTTPS-01 \u9a8c\u8bc1 ACME\u534f\u8bae\uff08\u7528\u4e8eLet&#8217;s En &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[13],"tags":[41],"class_list":["post-522","post","type-post","status-publish","format-standard","hentry","category-web","tag-41"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66 - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149<\/title>\n<meta name=\"description\" content=\"\u5f53\u6211\u4eec\u62e5\u6709\u4e00\u4e2a\u516c\u7f51IP\u7684\u65f6\u5019\uff0c\u5374\u53d1\u73b0\u6ca1\u670980\u4e0e443\u7aef\u53e3\uff0c\u5728\u5e38\u89c4\u7533\u8bf7SSL\u65e0\u679c\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7DNS-01\u7684\u65b9\u5f0f\u7533\u8bf7\u8bc1\u4e66\uff0c\u5177\u4f53\u64cd\u4f5c\u8bf7\u70b9\u51fb\u8be6\u60c5\u67e5\u770b\" \/>\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.17ci.com\/index.php\/\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7ssl\u8bc1\u4e66\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66 - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149\" \/>\n<meta property=\"og:description\" content=\"\u5f53\u6211\u4eec\u62e5\u6709\u4e00\u4e2a\u516c\u7f51IP\u7684\u65f6\u5019\uff0c\u5374\u53d1\u73b0\u6ca1\u670980\u4e0e443\u7aef\u53e3\uff0c\u5728\u5e38\u89c4\u7533\u8bf7SSL\u65e0\u679c\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7DNS-01\u7684\u65b9\u5f0f\u7533\u8bf7\u8bc1\u4e66\uff0c\u5177\u4f53\u64cd\u4f5c\u8bf7\u70b9\u51fb\u8be6\u60c5\u67e5\u770b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.17ci.com\/index.php\/\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7ssl\u8bc1\u4e66\/\" \/>\n<meta property=\"og:site_name\" content=\"\u4ed6\u7684\u65e5\u5e38\u65f6\u5149\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-04T13:01:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-04T13:01:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602409-logoko.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"xieshuoshuo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"xieshuoshuo\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\\\/\"},\"author\":{\"name\":\"xieshuoshuo\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#\\\/schema\\\/person\\\/2b6d2c8bdf88e9055aba3abf2f2852b8\"},\"headline\":\"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66\",\"datePublished\":\"2024-12-04T13:01:55+00:00\",\"dateModified\":\"2024-12-04T13:01:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\\\/\"},\"wordCount\":204,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#\\\/schema\\\/person\\\/2b6d2c8bdf88e9055aba3abf2f2852b8\"},\"keywords\":[\"\u5176\u4ed6\"],\"articleSection\":[\"\u7f51\u7ad9\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\\\/\",\"url\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\\\/\",\"name\":\"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66 - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#website\"},\"datePublished\":\"2024-12-04T13:01:55+00:00\",\"dateModified\":\"2024-12-04T13:01:56+00:00\",\"description\":\"\u5f53\u6211\u4eec\u62e5\u6709\u4e00\u4e2a\u516c\u7f51IP\u7684\u65f6\u5019\uff0c\u5374\u53d1\u73b0\u6ca1\u670980\u4e0e443\u7aef\u53e3\uff0c\u5728\u5e38\u89c4\u7533\u8bf7SSL\u65e0\u679c\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7DNS-01\u7684\u65b9\u5f0f\u7533\u8bf7\u8bc1\u4e66\uff0c\u5177\u4f53\u64cd\u4f5c\u8bf7\u70b9\u51fb\u8be6\u60c5\u67e5\u770b\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/www.17ci.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#website\",\"url\":\"https:\\\/\\\/www.17ci.com\\\/\",\"name\":\"\u4ed6\u7684\u65e5\u5e38\u65f6\u5149\",\"description\":\"\u832b\u832b\u4eba\u751f\uff0c\u597d\u50cf\u8352\u91ce...\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#\\\/schema\\\/person\\\/2b6d2c8bdf88e9055aba3abf2f2852b8\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.17ci.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#\\\/schema\\\/person\\\/2b6d2c8bdf88e9055aba3abf2f2852b8\",\"name\":\"xieshuoshuo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/1702602405-avatar.jpg\",\"url\":\"https:\\\/\\\/www.17ci.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/1702602405-avatar.jpg\",\"contentUrl\":\"https:\\\/\\\/www.17ci.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/1702602405-avatar.jpg\",\"width\":1619,\"height\":1619,\"caption\":\"xieshuoshuo\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/1702602405-avatar.jpg\"},\"description\":\"\u8fd9\u662f\u4e00\u4e2a\u795e\u79d8\u4eba\u58eb\uff0c\u6216\u8bb8\u7528\u6307\u5b9a\u7684\u65b9\u5f0f\u53ef\u4ee5\u8054\u7cfb\u5230......\",\"sameAs\":[\"https:\\\/\\\/www.17ci.com\"],\"url\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/author\\\/xieshuoshuo\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66 - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149","description":"\u5f53\u6211\u4eec\u62e5\u6709\u4e00\u4e2a\u516c\u7f51IP\u7684\u65f6\u5019\uff0c\u5374\u53d1\u73b0\u6ca1\u670980\u4e0e443\u7aef\u53e3\uff0c\u5728\u5e38\u89c4\u7533\u8bf7SSL\u65e0\u679c\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7DNS-01\u7684\u65b9\u5f0f\u7533\u8bf7\u8bc1\u4e66\uff0c\u5177\u4f53\u64cd\u4f5c\u8bf7\u70b9\u51fb\u8be6\u60c5\u67e5\u770b","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.17ci.com\/index.php\/\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7ssl\u8bc1\u4e66\/","og_locale":"zh_CN","og_type":"article","og_title":"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66 - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149","og_description":"\u5f53\u6211\u4eec\u62e5\u6709\u4e00\u4e2a\u516c\u7f51IP\u7684\u65f6\u5019\uff0c\u5374\u53d1\u73b0\u6ca1\u670980\u4e0e443\u7aef\u53e3\uff0c\u5728\u5e38\u89c4\u7533\u8bf7SSL\u65e0\u679c\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7DNS-01\u7684\u65b9\u5f0f\u7533\u8bf7\u8bc1\u4e66\uff0c\u5177\u4f53\u64cd\u4f5c\u8bf7\u70b9\u51fb\u8be6\u60c5\u67e5\u770b","og_url":"https:\/\/www.17ci.com\/index.php\/\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7ssl\u8bc1\u4e66\/","og_site_name":"\u4ed6\u7684\u65e5\u5e38\u65f6\u5149","article_published_time":"2024-12-04T13:01:55+00:00","article_modified_time":"2024-12-04T13:01:56+00:00","og_image":[{"width":400,"height":400,"url":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602409-logoko.png","type":"image\/png"}],"author":"xieshuoshuo","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"xieshuoshuo","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/#article","isPartOf":{"@id":"https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/"},"author":{"name":"xieshuoshuo","@id":"https:\/\/www.17ci.com\/#\/schema\/person\/2b6d2c8bdf88e9055aba3abf2f2852b8"},"headline":"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66","datePublished":"2024-12-04T13:01:55+00:00","dateModified":"2024-12-04T13:01:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/"},"wordCount":204,"commentCount":0,"publisher":{"@id":"https:\/\/www.17ci.com\/#\/schema\/person\/2b6d2c8bdf88e9055aba3abf2f2852b8"},"keywords":["\u5176\u4ed6"],"articleSection":["\u7f51\u7ad9"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/","url":"https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/","name":"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66 - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149","isPartOf":{"@id":"https:\/\/www.17ci.com\/#website"},"datePublished":"2024-12-04T13:01:55+00:00","dateModified":"2024-12-04T13:01:56+00:00","description":"\u5f53\u6211\u4eec\u62e5\u6709\u4e00\u4e2a\u516c\u7f51IP\u7684\u65f6\u5019\uff0c\u5374\u53d1\u73b0\u6ca1\u670980\u4e0e443\u7aef\u53e3\uff0c\u5728\u5e38\u89c4\u7533\u8bf7SSL\u65e0\u679c\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7DNS-01\u7684\u65b9\u5f0f\u7533\u8bf7\u8bc1\u4e66\uff0c\u5177\u4f53\u64cd\u4f5c\u8bf7\u70b9\u51fb\u8be6\u60c5\u67e5\u770b","breadcrumb":{"@id":"https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.17ci.com\/index.php\/%e6%97%a080%e4%b8%8e443%e7%ab%af%e5%8f%a3%e7%94%b3%e8%af%b7ssl%e8%af%81%e4%b9%a6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.17ci.com\/"},{"@type":"ListItem","position":2,"name":"\u65e080\u4e0e443\u7aef\u53e3\u7533\u8bf7SSL\u8bc1\u4e66"}]},{"@type":"WebSite","@id":"https:\/\/www.17ci.com\/#website","url":"https:\/\/www.17ci.com\/","name":"\u4ed6\u7684\u65e5\u5e38\u65f6\u5149","description":"\u832b\u832b\u4eba\u751f\uff0c\u597d\u50cf\u8352\u91ce...","publisher":{"@id":"https:\/\/www.17ci.com\/#\/schema\/person\/2b6d2c8bdf88e9055aba3abf2f2852b8"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.17ci.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/www.17ci.com\/#\/schema\/person\/2b6d2c8bdf88e9055aba3abf2f2852b8","name":"xieshuoshuo","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602405-avatar.jpg","url":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602405-avatar.jpg","contentUrl":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602405-avatar.jpg","width":1619,"height":1619,"caption":"xieshuoshuo"},"logo":{"@id":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602405-avatar.jpg"},"description":"\u8fd9\u662f\u4e00\u4e2a\u795e\u79d8\u4eba\u58eb\uff0c\u6216\u8bb8\u7528\u6307\u5b9a\u7684\u65b9\u5f0f\u53ef\u4ee5\u8054\u7cfb\u5230......","sameAs":["https:\/\/www.17ci.com"],"url":"https:\/\/www.17ci.com\/index.php\/author\/xieshuoshuo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/posts\/522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/comments?post=522"}],"version-history":[{"count":1,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/posts\/522\/revisions"}],"predecessor-version":[{"id":523,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/posts\/522\/revisions\/523"}],"wp:attachment":[{"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/media?parent=522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/categories?post=522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/tags?post=522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}