{"id":134981,"date":"2020-07-21T07:47:57","date_gmt":"2020-07-20T23:47:57","guid":{"rendered":"http:\/\/4563.org\/?p=134981"},"modified":"2020-07-22T00:43:09","modified_gmt":"2020-07-21T16:43:09","slug":"%e9%99%a4%e4%ba%86-lets-encrypt-%e8%bf%98%e6%9c%89%e5%85%b6%e4%bb%96%e7%9a%84%e5%85%8d%e8%b4%b9%e9%80%9a%e9%85%8d%e7%ac%a6%e8%af%81%e4%b9%a6%e4%b9%88%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=134981","title":{"rendered":"\u9664\u4e86 Let&#8217;s encrypt \u8fd8\u6709\u5176\u4ed6\u7684\u514d\u8d39\u901a\u914d\u7b26\u8bc1\u4e66\u4e48\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u9664\u4e86 Let&#8217;s encrypt \u8fd8\u6709\u5176\u4ed6\u7684\u514d\u8d39\u901a\u914d\u7b26\u8bc1\u4e66\u4e48\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cnfczn <\/span>  <span><i><\/i> 11<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6700\u8fd1 Let&#8217;s encrypt \u9a8c\u8bc1\u603b\u662f\u65e0\u6cd5\u901a\u8fc7\u3002\u4e0d\u77e5\u9053\u5927\u5bb6\u6709\u6ca1\u6709\u5176\u4ed6\u9009\u62e9&#8230;<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>13<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2493761\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mason961125 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div> <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/07\/J7slPvg5-2.png\" alt=\"\u9664\u4e86 Let's encrypt \u8fd8\u6709\u5176\u4ed6\u7684\u514d\u8d39\u901a\u914d\u7b26\u8bc1\u4e66\u4e48\uff1f\"> \u4e0d\u5982\u5148\u627e\u627e\u5931\u8d25\u7684\u539f\u56e0\u662f\u4ec0\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493762\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cnfczn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @mason961125 \u6b64\u524d\u53d1\u8fc7\u4e00\u4e2a\u5e16\u5b50\u8ba8\u8bba\u8fc7,\u6709\u670b\u53cb\u56de\u590d\u8bf4\u662f Let&#8217;s encrypt \u7684\u9a8c\u8bc1\u670d\u52a1\u5668\u88ab\u5c4f\u853d\u4e86.<br \/>\u4f46\u662f\u6211\u8fd9\u91cc\u8fd4\u56de\u7684\u9519\u8bef\u4fe1\u606f\u4e0e\u7f51\u4e0a\u5199\u7684\u5e76\u4e0d\u592a\u4e00\u6837.<br \/>DNS problem: SERVFAIL looking up TXT for _acme-challenge.x.com &#8211; the domain&#8217;s nameservers may be malfunctioning<br \/>\u800c\u4e14\u4e0d\u8bba\u662f dns \u8fd8\u662f webroot \u90fd\u65e0\u6cd5\u9a8c\u8bc1\u901a\u8fc7,\u4e0a\u6b21\u8bc1\u4e66\u7eed\u671f\u8fd8\u6ca1\u6709\u95ee\u9898.\u6240\u4ee5\u4e0d\u6253\u7b97\u5728\u8fd9\u4e00\u4e2a\u4e0a\u9762\u9760\u6b7b..\u60f3\u770b\u770b\u5927\u5bb6\u6709\u6ca1\u6709\u4f7f\u7528\u8fc7\u5176\u4ed6\u8bc1\u4e66.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493763\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mason961125 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cnfczn #2 \u521a\u624d\u53bb\u8bd5\u4e86\u4e00\u4e0b\uff0c\u7528 acme.sh \u7684 DNS manual mode\uff0c\u4f60\u8fd9\u4e2a\u9519\u8bef\u6211\u4e00\u5f00\u59cb\u4e5f\u9047\u5230\u4e86\uff0c\u5927\u6982\u7387\u662f\u89e3\u6790\u6ca1\u751f\u6548\uff0c\u8fd8\u6709\u4e00\u79cd\u53ef\u80fd\u662f\uff0c\u4f60\u5206\u522b\u6dfb\u52a0\u4e86\u4e24\u6761 TXT \u8bb0\u5f55\uff0c\u800c\u4e0d\u662f\u5728\u4e00\u4e2a TXT \u8bb0\u5f55\u91cc\u5199\u4e24\u884c\uff0c\u5982\u679c\u4f60\u5199\u4e24\u4e2a\u4e0d\u540c\u7684_acme-challenge \u7684\u8bdd\uff0c\u534e\u4e3a\u4e91\u90a3\u4e2a DNS \u4f1a\u9ed8\u8ba4\u5e2e\u4f60\u6309\u6743\u91cd\u8d1f\u8f7d\u5747\u8861\uff0c\u6240\u4ee5\u4e0d\u80fd\u5728\u4e00\u6b21\u67e5\u8be2\u4e2d\u627e\u5230\u4e24\u6761\u8bb0\u5f55\u3002\u4f46\u662f\u6211\u6539\u6210\u4e00\u6761\u8bb0\u5f55\u5199\u4e24\u884c\u7684\u6a21\u5f0f\u4e4b\u540e\uff0c\u8fd8\u662f\u53d1\u751f\u9519\u8bef\uff0cDNS \u67e5\u8be2\u8bf7\u6c42\u8d85\u65f6\u6216\u8005 CAA \u8bb0\u5f55\u67e5\u8be2\u5931\u8d25\u3002\u652f\u6301 wildcard \u7684\u514d\u8d39\u8bc1\u4e66\u786e\u5b9e\u4e0d\u591a\u3002\u5982\u679c\u4e0d\u60f3\u6362 DNS \u89e3\u6790\u5546\u7684\u8bdd\uff0c\u786e\u5b9e\u6211\u6ca1\u627e\u5230\u9664\u4e86 Let&#8217;s Encrpyt \u4e4b\u5916\u7684\u514d\u8d39\u8bc1\u4e66\u3002\u6240\u4ee5\u76f8\u5bf9\u6765\u770b\uff0c\u6362\u4e00\u5bb6\u652f\u6301 DNS API mode \u7684\u89e3\u6790\u5546\u662f\u4e2a\u66f4\u597d\u7684\u9009\u62e9\uff0c\u987a\u4fbf\u4e5f\u80fd\u5b8c\u6210\u81ea\u52a8\u5316\uff0c\u81f3\u5c11\u6211\u7528\u963f\u91cc\u7684 DNS \u7684\u4e4b\u540e\u90fd\u662f\u7528 API Key \u6765\u81ea\u52a8\u7eed\u671f\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493764\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wsly47 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/sm.ms\/image\/MJgl1OLXoknAuFc<br \/>https:\/\/sm.ms\/image\/KwzPDTIF8htlGLd<\/p>\n<p>\u6211\u81ea\u5df1\u6d4b\u8bd5\u4e86\u4e00\u4e0b\u7b7e\u6210\u529f\u4e86\uff0cdig \u4e5f\u53ef\u4ee5\u770b\u5230\u4e24\u6761 txt \u8bb0\u5f55<\/p>\n<p>\u8fd8\u4e0d\u884c\u7684\u8bdd \u68c0\u67e5 CAA \u8bb0\u5f55\u662f\u5426\u6b63\u786e\u6216\u8005\u76f4\u63a5\u5220\u4e86\u5b83                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493765\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : arischow <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             CloudFlare API + acme.sh                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493766\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : moxuanyuan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u7b80\u5355\u662f cloudflare \u5f00\u542f\u534a\u7a0b SSL \u6a21\u5f0f\u5427\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493767\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Windelight <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Let&#8217;s Encrypt \u3001CloudFlare \u3001AlphaSSL                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493768\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cnfczn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @mason961125 \u611f\u8c22\u8fd9\u4f4d\u4ec1\u5144\u7684\u8010\u5fc3\u89e3\u7b54,\u6b64\u524d\u6211\u4e00\u76f4\u7528\u963f\u91cc\u7684\u670d\u52a1\u5668,dns \u89e3\u6790\u4e5f\u662f\u963f\u91cc\u7684,\u540e\u6765\u5230\u671f\u6362\u7684\u534e\u4e3a.\u4e0a\u6b21\u89e3\u6790\u7684\u65f6\u5019\u8fd8\u6b63\u5e38,\u8fd9\u6b21\u5c31\u600e\u4e48\u4e5f\u8fc7\u4e0d\u53bb\u4e86.<br \/>\u521a\u624d\u53c8\u8bd5\u4e86\u4e0b\u5728\u6ca1\u6709\u88ab\u548c\u8c10\u7684\u670d\u52a1\u4e0a\u66f4\u65b0\u8bc1\u4e66\u4e5f\u4e00\u6837\u5931\u8d25.\u800c\u4e14 dig \u80fd\u67e5\u8be2\u5230 TXT \u8bb0\u5f55.<br \/>\u4e0a\u6b21\u66f4\u65b0\u8bc1\u4e66\u7684\u65f6\u5019,\u6211\u53ea\u7528\u4e86\u4e00\u4e2a_acme-challenge \u6761\u76ee,\u4e24\u6b21 TXT \u8bb0\u5f55\u90fd\u662f\u5148\u540e\u66f4\u6539\u7684,\u9a8c\u8bc1\u5931\u8d25\u4e24\u6b21\u7b2c\u4e09\u6b21\u6210\u529f\u4e86.<br \/>\u8fd9\u6b21\u66f4\u65b0\u8bc1\u4e66\u5c31\u4e0d\u884c\u4e86,\u5df2\u7ecf\u628a\u6240\u6709\u53ef\u4ee5\u8bbe\u7f6e\u7684\u65b9\u6cd5\u90fd\u8bbe\u7f6e\u8fc7\u4e86.\u5305\u62ec 2 \u4e2a_acme-challenge TXT \u8bb0\u5f55,\u6216\u8005 1 \u4e2a_acme-challenge \u91cc\u8fb9 2 \u4e2a TXT \u8bb0\u5f55,\u6dfb\u52a0 CAA \u5220\u9664 CAA \u7b49\u7b49\u5404\u79cd\u59ff\u52bf.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493769\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cnfczn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wsly47 \u521a\u624d\u6309\u7167\u4f60\u7684\u601d\u8def\u4e5f\u914d\u7f6e\u4e86\u4e00\u4e0b,\u4ecd\u7136\u5931\u8d25.<br \/>the domain&#8217;s nameservers may be malfunctioning<br \/>dig \u80fd\u770b\u5230\u6b63\u786e\u7684 TXT \u8bb0\u5f55<br \/>\u633a\u90c1\u95f7\u7684,\u6211\u6253\u7b97\u6362 dns \u670d\u52a1\u5546\u8bd5\u8bd5\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493770\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cnfczn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @moxuanyuan \u6211\u4e5f\u6b63\u5728\u8bd5,\u6b63\u5728\u7b49 NS \u53d8\u66f4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493771\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cnfczn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @arischow \u521a\u5f00\u59cb\u5f04 CloudFare,\u7b49 NS \u53d8\u66f4\u4ee5\u540e\u518d\u8bd5\u8bd5.<br \/>\u6211\u6709\u4e2a\u670b\u53cb\u7528\u7684\u67d0\u4e00\u952e\u540e\u53f0,\u81ea\u52a8\u66f4\u65b0 let&#8217;s encrypt \u8bc1\u4e66,\u597d\u50cf\u662f webroot \u9a8c\u8bc1,\u636e\u8bf4\u4e5f\u4e0d\u592a\u7a33\u5b9a,\u4f46\u662f\u6700\u540e\u6210\u529f\u8fc7\u4e86.<br \/>\u8fd9\u51e0\u79cd\u9a8c\u8bc1\u65b9\u5f0f\u6211\u90fd\u8bd5\u8fc7,\u90fd\u4e0d\u6210\u529f&#8230;\u7b49 ns \u53d8\u66f4\u540e\u518d\u8bd5\u8bd5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493772\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cnfczn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Windelight ok,\u591a\u8c22\u4ec1\u5144..\u6211\u5148\u8bd5\u8bd5 cloudfare                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2493773\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : laozhoubuluo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9a8c\u8bc1\u4e0d\u901a\u8fc7\u7684\u539f\u56e0\u662f\u56e0\u4e3a Let&#8217;s encrypt \u7684 OCSP \u57df\u540d\u88ab DNS \u6c61\u67d3\u4e86\u3002<br \/>\u53ef\u4ee5\u8003\u8651\u5728 hosts \u6587\u4ef6\u914d\u7f6e\u5982\u4e0b\u6307\u4ee4\uff0c\u5e76\u5f00\u542f\u670d\u52a1\u5668\u7684 OCSP stapling \u7f13\u89e3\u6b64\u95ee\u9898\u3002<\/p>\n<p>\u00b7\u00b7\u00b7<br \/># Let&#8217;s encrypt OCSP Server<br \/>23.52.0.145 ocsp.int-x3.letsencrypt.org<br \/>2600:1406:3::b81c:bcb8 ocsp.int-x3.letsencrypt.org<br \/>\u00b7\u00b7\u00b7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u9664\u4e86 Let&#8217;s en&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/134981"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=134981"}],"version-history":[{"count":1,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/134981\/revisions"}],"predecessor-version":[{"id":134986,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/134981\/revisions\/134986"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=134981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=134981"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=134981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}