{"id":1248,"date":"2019-04-18T11:10:13","date_gmt":"2019-04-18T03:10:13","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=1248"},"modified":"2020-08-24T21:42:10","modified_gmt":"2020-08-24T13:42:10","slug":"%e9%80%9a%e8%bf%87acme%e5%9c%a8pfsense%e4%b8%8a%e5%ae%9e%e7%8e%b0lets-encryptstandalone-http-server","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=1248","title":{"rendered":"pfSense\u4f7f\u7528Let\u2019s Encrypt(Standalone HTTP server)"},"content":{"rendered":"<p style=\"text-align: justify;\">pfSense\u53ef\u4ee5\u4f7f\u7528Let&#8217;s Encrypt\u81ea\u52a8\u5b89\u5168\u5730\u751f\u6210\u5b8c\u5168\u8ba4\u53ef\u7684TLS\u8bc1\u4e66\u3002\u867d\u7136\u4f7f\u7528\u81ea\u7b7e\u540d\u8bc1\u4e66\u53ef\u4ee5\u89e3\u51b3\u672c\u5730\u8bbf\u95ee\u4e0d\u5b89\u5168\u7684\u95ee\u9898\uff0c\u4f46\u662f\u901a\u8fc7ACME\u63d2\u4ef6\u4f7f\u7528Let&#8217;s Encrypt\uff0c\u4f60\u4ecd\u7136\u53ef\u4ee5\u5b8c\u5168\u63a7\u5236\u4f60\u7684\u79c1\u94a5\uff0c\u5e76\u4e0d\u4f1a\u5bfc\u81f4\u5b89\u5168\u6027\u4e0b\u964d\u3002<\/p>\n<h2>\u4e00\u3001\u5b89\u88c5acme\u63d2\u4ef6<\/h2>\n<p style=\"text-align: left;\">\u5bfc\u822a\u5230System \/ Package Manager \/ Available Packages\uff0c\u5b89\u88c5acme\u63d2\u4ef6\u3002<a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.07.50.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3148\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.07.50.png\" width=\"1166\" height=\"419\" alt=\"\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.07.50.png 1166w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.07.50-1024x368.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.07.50-300x108.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.07.50-768x276.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.07.50-500x180.png 500w\" sizes=\"auto, (max-width: 1166px) 100vw, 1166px\" \/><\/a><\/p>\n<h2>\u4e8c\u3001\u6dfb\u52a0\u5e10\u6237<\/h2>\n<p style=\"text-align: justify;\">\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5bfc\u822a\u5230\u201c Services\/Acme Certificates\u00a0\u201d\u00a0\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.09.17.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3149\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.09.17.png\" width=\"282\" height=\"77\" alt=\"\" \/><\/a><\/p>\n<p>\u5728\u201cAccount keys\uff08\u5e10\u6237\u5bc6\u94a5\uff09\u201d\u9009\u9879\u5361\u4e2d\u6ce8\u518c\u4e00\u4e2aLet\u2019s Encrypt\u5e10\u6237\u5bc6\u94a5\uff0c\u8f93\u5165\u5e10\u6237\u5bc6\u94a5\u7684\u540d\u79f0\u548c\u8bf4\u660e\u3002ACME\u670d\u52a1\u5668\uff0c\u9009\u62e9Production ACME v2\u670d\u52a1\u5668\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u521b\u5efa\u901a\u914d\u7b26\u8bc1\u4e66\u3002\u90ae\u4ef6\u5730\u5740\u4f7f\u7528Let\u2019s Encrypt\u6765\u901a\u77e5\u8fc7\u671f\u8bc1\u4e66\u3002\u901a\u8fc7\u5355\u51fb\u201cCreate new account key\uff08\u521b\u5efa\u65b0\u5e10\u6237\u5bc6\u94a5\uff09\u201d\uff0c\u5e10\u6237\u5bc6\u94a5\u5b57\u6bb5\u5c06\u586b\u5145\u79c1\u94a5\u3002\u6700\u540e\uff0c\u4f7f\u7528\u201cRegister ACME account key\uff08\u6ce8\u518cACME\u5e10\u6237\u5bc6\u94a5\uff09\u201d\uff0c\u7136\u540e\u201c\u4fdd\u5b58\u201d\u5b8c\u6210\u8be5\u8fc7\u7a0b\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.11.34.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3150\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.11.34.png\" width=\"766\" height=\"563\" alt=\"\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.11.34.png 766w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.11.34-300x220.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.11.34-408x300.png 408w\" sizes=\"auto, (max-width: 766px) 100vw, 766px\" \/><\/a><\/p>\n<h2>\u4e8c\u3001\u521b\u5efa\u8bc1\u4e66<\/h2>\n<p style=\"text-align: left;\">\u4e0b\u4e00\u6b65\u662f\u521b\u5efa\u8bc1\u4e66\u3002\u5728\u201c Certificates\u201d\u9009\u9879\u5361\u4e0b\uff0c\u5355\u51fb\u201cADD\u201d\u6309\u94ae\u3002\u8f93\u5165\u540d\u79f0\u7b49\u8be6\u7ec6\u4fe1\u606f\u3002\u5982\u4e0b\u56fe\u6240\u793a\u9009\u62e9\u201cstandalone HTTP server\u201d\uff0c\u5e76\u5728\u9009\u9879\u4e2d\u5c06\u4fa6\u542c\u7aef\u53e3\u8bbe\u7f6e\u4e3a8082\uff0c\u56e0\u4e3aACME\u670d\u52a1\u5668\u9700\u8981\u572880\u7aef\u53e3\u4e0a\u8bbf\u95ee\u6b64\u72ec\u7acbHTTP\u670d\u52a1\u5668\u3002<a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.14.22.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3151\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.14.22.png\" width=\"1152\" height=\"690\" alt=\"\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.14.22.png 1152w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.14.22-1024x613.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.14.22-300x180.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.14.22-768x460.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.14.22-500x300.png 500w\" sizes=\"auto, (max-width: 1152px) 100vw, 1152px\" \/><\/a><\/p>\n<p>\u540c\u65f6\u5982\u4e0b\u56fe\u6240\u793a\u5728\u9632\u706b\u5899\u4e2d\u6dfb\u52a0\u7aef\u53e3\u8f6c\u53d1\u89c4\u5219\uff0c\u5c06\u7aef\u53e380 \u8f6c\u53d1\u5230pfSense LAN IP\u5730\u5740\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4e3a192.168.1.1\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.18.57.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3152\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.18.57.png\" width=\"1154\" height=\"975\" alt=\"\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.18.57.png 1154w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.18.57-1024x865.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.18.57-300x253.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.18.57-768x649.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/Screen-Shot-2017-02-16-at-00.18.57-355x300.png 355w\" sizes=\"auto, (max-width: 1154px) 100vw, 1154px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5f53\u7136\u4f60\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u65b9\u6cd5\u3002<\/p>\n<h2>\u4e09\u3001\u53d1\u5e03\u66f4\u65b0\u8bc1\u4e66<\/h2>\n<p style=\"text-align: left;\">\u73b0\u5728\u56de\u5230Acme Certificates\uff0c\u7136\u540e\u5355\u51fb<span style=\"color: #0000ff;\">Issue \/ Renew<\/span>\u6309\u94ae\u3002\u5728\u66f4\u65b0\u4e4b\u524d\uff0c\u786e\u4fdd\u4f60\u7684\u57df\u540d\u5df2\u7ecf\u5728DNS\u4e2d\u8fdb\u884c\u4e86\u6b63\u786e\u914d\u7f6e\u3002\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: left;\"><span style=\"color: #008000;\">update cert![Sun Mar 31 22:39:34 CST 2019] Reload success<\/span><\/p>\n<h2 style=\"text-align: justify;\">\u56db\u3001\u9009\u62e9\u8bc1\u4e66<\/h2>\n<p style=\"text-align: justify;\">\u7136\u540e\u8f6c\u5230System \/ Advanced \/ Admin Acces\uff0c\u5728SSL Certificate\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u521a\u624d\u7533\u8bf7\u7684\u65b0\u8bc1\u4e66\u3002\u4fdd\u5b58\u8bbe\u7f6e\u540e\uff0c\u901a\u8fc7\u57df\u540d\u8bbf\u95eepfSense\u5c31\u4e0d\u4f1a\u51fa\u73b0\u5b89\u5168\u8b66\u544a\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>pfSense\u53ef\u4ee5\u4f7f\u7528Let&#8217;s Encrypt\u81ea\u52a8\u5b89\u5168\u5730\u751f\u6210\u5b8c\u5168\u8ba4 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=1248\">\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-1248","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\/1248","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=1248"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1248\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}