{"id":1158,"date":"2019-03-30T15:29:30","date_gmt":"2019-03-30T07:29:30","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=1158"},"modified":"2022-02-08T15:57:38","modified_gmt":"2022-02-08T07:57:38","slug":"%e5%9c%a8pfsense%e4%b8%ad%e4%bd%bf%e7%94%a8lets-encrypt-dns-godaddy","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=1158","title":{"rendered":"pfSense\u4f7f\u7528Let\u2019s Encrypt (DNS-GoDaddy)"},"content":{"rendered":"<div class=\"entry-thumb\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencrypttitle.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3907\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencrypttitle.png\" alt=\"\u6211\u4eec\u5728pfSense\u4e0b\u52a0\u5bc6\u8bc1\u4e66\" width=\"1084\" height=\"315\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencrypttitle.png 1084w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencrypttitle-300x87.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencrypttitle-1024x298.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencrypttitle-768x223.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencrypttitle-500x145.png 500w\" sizes=\"auto, (max-width: 1084px) 100vw, 1084px\" \/><\/a><\/div>\n<p style=\"text-align: justify;\">\u5f53\u8c37\u6b4c\u6d4f\u89c8\u5668\u5c06HTTP\u9875\u9762\u6807\u8bb0\u4e3a\u4e0d\u5b89\u5168\u65f6\uff0c\u8fd0\u884c\u6ca1\u6709HTTPS\u7684\u7f51\u7ad9\u88ab\u63d0\u793a\u4e0d\u5b89\u5168\u770b\u8d77\u6765\u4f3c\u4e4e\u4e0d\u4e13\u4e1a\uff0c\u6240\u4ee5\uff0c\u662f\u65f6\u5019\u4e3a\u6211\u4eec\u7684Web\u670d\u52a1\u5668\u6216\u53cd\u5411\u4ee3\u7406\u914d\u5907HTTPS\u8bc1\u4e66\u4e86\u3002\u4e0b\u9762\u4ecb\u7ecd\u5728pfSense\u4e0a\u8bbe\u7f6e\u514d\u8d39Let\u2019s Encrypt\u8bc1\u4e66\u7684\u8fc7\u7a0b\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u5b89\u88c5ACME\u63d2\u4ef6<\/h1>\n<p style=\"text-align: justify;\">\u5bfc\u822a\u5230System &gt; Package Manager &gt; Available Packages\uff0c\u627e\u5230ACME\u63d2\u4ef6\uff0c\u5355\u51fb\u53f3\u4fa7\u7684\u201cInstall\u201d\u6309\u94ae\u8fdb\u884c\u5b89\u88c5\u3002\u5b8c\u6210\u540e\u5728\u201cServices &gt; Acme\u201d\u4e0b\u627e\u5230\u8be5\u63d2\u4ef6\u3002<\/p>\n<h1 style=\"text-align: justify;\">\u5e38\u89c4\u8bbe\u7f6e<\/h1>\n<p style=\"text-align: justify;\">\u5728\u63d2\u4ef6\u7684\u5e38\u89c4\u8bbe\u7f6e\u4e2d\uff0c\u6fc0\u6d3b\u201cCron Entry\u201d\u590d\u9009\u6846\u3002\u786e\u4fdd\u5728\u5fc5\u8981\u65f6\u6bcf\u5929\u5b9a\u65f6\u66f4\u65b0\u8bc1\u4e66\u3002<\/p>\n<figure class=\"wp-block-image\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmegeneral-1024x382.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3908\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmegeneral-1024x382.png\" alt=\"\" width=\"1024\" height=\"382\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmegeneral-1024x382.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmegeneral-1024x382-300x112.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmegeneral-1024x382-768x287.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmegeneral-1024x382-500x187.png 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<h1 style=\"text-align: justify;\">\u5e10\u6237\u5bc6\u94a5<\/h1>\n<p style=\"text-align: justify;\">\u5728\u201cAccount keys(\u5e10\u6237\u5bc6\u94a5)\u201d\u9009\u9879\u5361\uff0c\u6ce8\u518c\u4e00\u4e2a\u5e10\u6237\u5bc6\u94a5\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>ACME\u670d\u52a1\u5668<\/strong>\uff0c\u9009\u62e9<strong>Production ACME v2<\/strong>\u670d\u52a1\u5668(<span style=\"color: #ff0000;\">\u535a\u4e3b\u5728\u8fd9\u8d70\u4e86\u5f2f\u8def)<\/span>\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u521b\u5efa\u901a\u914d\u7b26\u8bc1\u4e66\u3002<\/p>\n<p style=\"text-align: justify;\"><strong>\u90ae\u4ef6\u5730\u5740<\/strong>\uff0c\u4f7f\u7528Let&#8217;s Encrypt\u6765\u901a\u77e5\u8fc7\u671f\u8bc1\u4e66\u3002<\/p>\n<p style=\"text-align: justify;\">\u5355\u51fb\u201cCreate new account key(\u521b\u5efa\u65b0\u5e10\u6237\u5bc6\u94a5)\u201d\uff0c\u5e10\u6237\u5bc6\u94a5\u5b57\u6bb5\u4f1a\u81ea\u52a8\u586b\u5145\u79c1\u94a5\u3002<\/p>\n<p style=\"text-align: justify;\">\u5355\u51fb\u201cRegister ACME account key(\u6ce8\u518cACME\u5e10\u6237\u5bc6\u94a5)\u201d\uff0c\u7136\u540e\u5355\u51fb\u201c\u4fdd\u5b58\u201d\u5b8c\u6210\u8d26\u6237\u5bc6\u94a5\u7684\u8bbe\u7f6e\u8fc7\u7a0b\u3002<\/p>\n<figure class=\"wp-block-image\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmeaccountkey-1024x730.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3909\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmeaccountkey-1024x730.png\" alt=\"\" width=\"1024\" height=\"730\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmeaccountkey-1024x730.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmeaccountkey-1024x730-300x214.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmeaccountkey-1024x730-768x548.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/acmeaccountkey-1024x730-421x300.png 421w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<h1 style=\"text-align: justify;\">\u8bc1\u4e66<\/h1>\n<p style=\"text-align: justify;\">\u521b\u5efa\u6240\u9700\u7684\u8bc1\u4e66\uff0c\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u521b\u5efa\u901a\u914d\u7b26\u8bc1\u4e66\u3002<span class=\"goog-text-highlight\">\u8fd9\u4e5f\u53ef\u4ee5\u7528\u4e8e\u6240\u6709\u5b50\u57df\u3002<\/span><span class=\"\">\u4f46\u662f\uff0cLet&#8217;s Encrypt\u9700\u8981\u901a\u914d\u7b26\u8bc1\u4e66\u7684DNS\u6311\u6218\u65b9\u6cd5\uff0c<\/span>\u8fd9\u9700\u8981\u57df\u540d\u63d0\u4f9b\u5546\u6765\u652f\u6301\u3002GoDaddy\u6216Cloudflare\u7684\u8bbe\u7f6e\u975e\u5e38\u7b80\u5355\u3002\u8fd9\u7bc7<a href=\"https:\/\/blog.pfchina.org\/?p=1142\">\u6587\u7ae0<\/a>\u4ecb\u7ecd\u4e86\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\u3002\u7136\u540e\uff0c\u5728\u57dfSAN\u5217\u8868\u4e2d\u4f7f\u7528\u8be5API\u8bbf\u95ee\u6570\u636e\u6765\u521b\u5efa\u8bc1\u4e66\u6240\u9700\u7684\u57df\u3002\u8fd9\u4e0e\u5176\u4ed6\u57df\u63d0\u4f9b\u5546\u7684\u5de5\u4f5c\u65b9\u5f0f\u7c7b\u4f3c\u3002<\/p>\n<figure class=\"wp-block-image\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertgeneral-1024x452.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3910\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertgeneral-1024x452.png\" alt=\"\" width=\"1024\" height=\"452\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertgeneral-1024x452.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertgeneral-1024x452-300x132.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertgeneral-1024x452-768x339.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertgeneral-1024x452-500x221.png 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<figure class=\"wp-block-image\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertsanlist-1024x904.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3911\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertsanlist-1024x904.png\" alt=\"\" width=\"1024\" height=\"904\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertsanlist-1024x904.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertsanlist-1024x904-300x265.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertsanlist-1024x904-768x678.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertsanlist-1024x904-340x300.png 340w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<p style=\"text-align: justify;\">\u8bc1\u4e66\u521b\u5efa\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u4e0b\u56fe\u53f3\u4fa7\u7684<span style=\"color: #0000ff;\">Issue\/Renew<\/span>\u56fe\u6807\u66f4\u65b0\u8bc1\u4e66\uff0c\u66f4\u65b0\u8bc1\u4e66\u9700\u89811-2\u5206\u949f\u7684\u7b49\u5f85\u65f6\u95f4\uff0c\u6700\u540e\u4f1a\u51fa\u73b0\u63d0\u793a\u4fe1\u606f\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/456456.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1188\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/456456.png\" alt=\"\" width=\"1145\" height=\"288\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/456456.png 1145w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/456456-300x75.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/456456-768x193.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/456456-1024x258.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/456456-500x126.png 500w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u63d0\u793a\u4fe1\u606f\u6700\u540e\u4e00\u884c\u51fa\u73b0\u5982\u4e0b\u7684\u4fe1\u606f\uff0c\u5c31\u8868\u793a\u8bc1\u4e66\u7533\u8bf7\u6210\u529f\u3002<\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #008000;\">update cert![Sun Mar 31 22:39:34 CST 2019] Reload success<\/span><\/p>\n<p style=\"text-align: justify;\">pfSense\u4e0a\u7684HAProxy\u7528\u6237\uff0c\u8fd8\u5fc5\u987b\u5728ACME\u63d2\u4ef6\u7684\u8bbe\u7f6e\u4e2d\uff0c\u6dfb\u52a0\u4e00\u6761\u547d\u4ee4\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a\u201c\/usr\/local\/etc\/rc.d\/haproxy.sh restart\u201d\u3002\u8fd0\u884c\u96c6\u7fa4\u7684\u8bbe\u5907\u8fd8\u5fc5\u987b\u4e3a\u7b2c\u4e8c\u4e2a\u96c6\u7fa4\u8282\u70b9\u914d\u7f6e\u8be5\u547d\u4ee4\u3002\u8fd9\u9002\u7528\u4e8e\u201chaproxy\u201d\u4f5c\u4e3a\u8fdc\u7a0b\u670d\u52a1\u91cd\u542f\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002\u8fd9\u662f\u5fc5\u8981\u7684\uff0c\u56e0\u4e3a HAProxy \u53ea\u80fd\u5728\u91cd\u65b0\u542f\u52a8\u65f6\u91cd\u65b0\u52a0\u8f7d\u8bc1\u4e66\uff0c\u8be5\u8bc1\u4e66\u6bcf 60 \u5929\u66f4\u65b0\u4e00\u6b21\u3002<\/p>\n<figure class=\"wp-block-image\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertadditional-1024x562.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3912\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertadditional-1024x562.png\" alt=\"\" width=\"1024\" height=\"562\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertadditional-1024x562.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertadditional-1024x562-300x165.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertadditional-1024x562-768x422.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/letsencryptcertadditional-1024x562-500x274.png 500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<p style=\"text-align: justify;\">\u5982\u679c\u4f60\u53ea\u60f3\u628aHTTPS\u8bc1\u4e66\u7528\u4e8epfSense\u672c\u8eab\uff0c\u4ee5\u6d88\u9664\u4f7f\u7528HTTPS\u534f\u8bae\u767b\u5f55pfSense\u65f6\u51fa\u73b0\u7684\u4e0d\u5b89\u5168\u63d0\u9192\uff0c\u53ea\u9700\u8981\u5728\u201cSystem&gt;AdvancedAdmin&gt; Access\u201d\u7684SSL Certificate\u4e2d\uff0c\u9009\u4e2d\u524d\u9762\u8bbe\u7f6e\u7684\u8bc1\u4e66\u5c31\u53ef\u4ee5\u4e86\u3002\u8bbe\u7f6e\u5b8c\u6210\u540e\uff0c\u8bbf\u95eepfSense\u5c31\u518d\u4e5f\u4e0d\u4f1a\u51fa\u73b0\u5b89\u5168\u8b66\u544a\u4e86\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/635434.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1190\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/635434.png\" alt=\"\" width=\"924\" height=\"604\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/635434.png 924w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/635434-300x196.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/635434-768x502.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/635434-459x300.png 459w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u539f\u6587<a href=\"https:\/\/sysadms.de\/2019\/03\/lets-encrypt-zertifikate-unter-pfsense-dns-godaddy\/\">\u5730\u5740<\/a>\u3002<\/p>\n<div id=\"gtx-trans\" style=\"position: absolute; left: 340px; top: 840.406px;\">\n<div class=\"gtx-trans-icon\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u8c37\u6b4c\u6d4f\u89c8\u5668\u5c06HTTP\u9875\u9762\u6807\u8bb0\u4e3a\u4e0d\u5b89\u5168\u65f6\uff0c\u8fd0\u884c\u6ca1\u6709HTTPS\u7684\u7f51\u7ad9\u88ab\u63d0\u793a\u4e0d\u5b89\u5168\u770b &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=1158\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[20],"class_list":["post-1158","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-lets-encrypt"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1158"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1158\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}