{"id":6807,"date":"2021-03-10T16:08:56","date_gmt":"2021-03-10T08:08:56","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=6807"},"modified":"2021-07-24T10:55:11","modified_gmt":"2021-07-24T02:55:11","slug":"%e5%9c%a8opnsense%e9%98%b2%e7%81%ab%e5%a2%99%e4%b8%8a%e4%bd%bf%e7%94%a8haproxy%e5%92%8clets-encrypt%e6%9d%a5%e7%bb%ad%e8%ae%a2ssl%e8%af%81%e4%b9%a6","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=6807","title":{"rendered":"\u5728OPNsense\u4e0a\u4f7f\u7528HAProxy\u548c\u201cLet&#8217;s Encrypt\u201d\u7eed\u8ba2SSL\u8bc1\u4e66"},"content":{"rendered":"<header>OPNSense\u53ef\u4ee5\u76f4\u63a5\u4eceLet\\&#8217;s Encrypt\u8bf7\u6c42\u514d\u8d39\u8bc1\u4e66\uff0c\u7136\u540e\u81ea\u52a8\u8fdb\u884c\u7eed\u7ea6\u3002Let\\&#8217;s Encrypt\u63d0\u4f9b\u4e86\u6709\u6548\u671f90\u5929\u7684\u514d\u8d39\u8bc1\u4e66\u3002<\/header>\n<div>\n<p>HAProxy\u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u8f6f\u4ef6\uff0c\u53ef\u4ee5\u4e3aTCP\u548cHTTP\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u8d1f\u8f7d\u5e73\u8861\u548c\u9ad8\u53ef\u7528\u6027\u4ee3\u7406\u670d\u52a1\uff0c\u4ee5\u4fbf\u5c06\u8bbf\u95ee\u8bf7\u6c42\u5206\u5e03\u5230\u591a\u4e2a\u670d\u52a1\u5668\u4e0a\u3002\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u5c06\u6f14\u793a\u5982\u4f55\u914d\u7f6eOPNsense\u4ee5\u4fbf\u5c06HAProxy\u4f5c\u4e3a\u53cd\u5411\u4ee3\u7406\uff0c\u4ece\u800c\u81ea\u52a8\u66f4\u65b0SSL\u8bc1\u4e66\u3002<\/p>\n<p>\u672c\u793a\u4f8b\u4f7f\u7528\u7684\u5730\u5740<a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/interface.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/interface.png\" alt=\"\" width=\"755\" height=\"123\" \/><\/a><\/p>\n<p>Web\u670d\u52a1\u5668\u4f4d\u4e8edmz\u4e2d\uff0cIP\u5730\u5740\u4e3a\uff1a10.158.1.10<\/p>\n<h1>\u914d\u7f6eOPNsense<\/h1>\n<p>OPNsense Web\u754c\u9762\u8bbf\u95ee\u7684\u9ed8\u8ba4\u7aef\u53e3\u662f443\uff08HTTPS\uff09\uff0c\u7531\u4e8e\u6211\u4eec\u8981\u521b\u5efa\u548c\u4f7f\u7528SSL\u8bc1\u4e66\uff0c\u56e0\u6b64\u6211\u4eec\u5c06\u4e3aExchange\u4fdd\u7559\u7aef\u53e3443\u3002\u56e0\u6b64\u9700\u8981\u5c06\u9ed8\u8ba4\u8bbf\u95ee\u7aef\u53e3\u7531443\u6539\u4e3a\u5176\u4ed6\u7aef\u53e3\uff0c\u8fd9\u91cc\u6211\u4eec\u4fee\u6539\u4e3a4444\uff0c\u4f60\u4e5f\u53ef\u4ee5\u9009\u62e9\u5176\u4ed6\u7aef\u53e3\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/1-1.png\" alt=\"\" width=\"1898\" height=\"487\" \/><\/a><\/p>\n<p>\u4fee\u6539\u5b8c\u6210\u540e\uff0c\u5fc5\u987b\u4f7f\u7528\u4fee\u6539\u540e\u7684\u7aef\u53e3\u8bbf\u95eeOPNsense\uff0c\u672c\u793a\u4f8b\u4e3ahttps:\/\/192.168.1.1:4444<\/p>\n<p>\u5bfc\u822a\u5230&#8221;\u7cfb\u7edf&gt;\u56fa\u4ef6&gt;\u63d2\u4ef6&#8221;\uff0c\u5b89\u88c5os-acme-client\u548cos-haproxy\u4e24\u4e2a\u63d2\u4ef6\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/2.png\" alt=\"\" width=\"1897\" height=\"432\" \/><\/a><\/p>\n<p>\u6dfb\u52a0\u8fc7\u6ee4\u89c4\u5219\uff0c\u4ee5\u5141\u8bb8\u5916\u90e8\u7f51\u7edc\u8bbf\u95eeWAN\u63a5\u53e3\u4e0a\u768480\u548c443\u7aef\u53e3\u3002\u89c4\u5219\u89c1\u4e0b\u56fe\uff1a<a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/7.png\" alt=\"\" width=\"1910\" height=\"868\" \/><\/a><\/p>\n<p>443\u7aef\u53e3\u4e5f\u91cd\u590d\u4e0a\u8ff0\u6b65\u9aa4\u3002\u5b8c\u6210\u540e\u5e94\u8be5\u6709\u4e24\u4e2a\u4e0b\u9762\u7684\u89c4\u5219\uff1a<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/4.png\" alt=\"\" width=\"1900\" height=\"431\" \/><\/a><\/p>\n<h1>\u914d\u7f6eHAProxy<\/h1>\n<p>\u73b0\u5728\u914d\u7f6eHAProxy\u6765\u4fa6\u542c\u516c\u5171IP\uff08\u672c\u4f8b\u4e2d\u4e3a10.0.2.15\uff09\uff0c\u5e76\u5c06\u8bf7\u6c42\u91cd\u5b9a\u5411\u5230Exchange\u670d\u52a1\u5668(10.158.1.10)\u3002<\/p>\n<p>\u9996\u5148\uff0c\u8f93\u5165Exchange\u670d\u52a1\u5668\u7684\u53c2\u6570\u3002<br \/>\n\u8f6c\u5230\u201c\u670d\u52a1&gt;HAProxy&gt;\u8bbe\u7f6e&gt;Real Servers\u201d\uff0c\u7136\u540e\u5355\u51fb\u53f3\u4fa7\u7684\u201c \u201d\u6dfb\u52a0Exchange\u670d\u52a1\u5668 \u3002<a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/6-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/6-1.png\" alt=\"\" width=\"1920\" height=\"496\" \/><\/a><\/p>\n<p>\u7531\u4e8e\u8981\u4f7f\u7528\u81ea\u7b7e\u540d\u8bc1\u4e66\uff0c\u6240\u4ee5\u9009\u4e2d\u201cSSL\u201d\u9009\u9879\uff0c\u00a0\u800c\u4e0d\u662f\u201cVerify SSL Certificate\u201d\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/5.png\" alt=\"\" width=\"1916\" height=\"780\" \/><\/a><\/p>\n<p>\u8f93\u5165\u4f4d\u4e8eDMZ\u4e2d\u7684Exchange\u670d\u52a1\u5668\u5730\u5740:10.158.1.10\u3002\u5355\u51fb\u201c\u4fdd\u5b58\u201d\uff0c\u73b0\u5728\u5e94\u8be5\u770b\u5230Exchange\u670d\u52a1\u5668\u3002\u5355\u51fb\u201cApply \u201d\u5e94\u7528\u66f4\u6539\uff01<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/8.png\" alt=\"\" width=\"1920\" height=\"506\" \/><\/a><\/p>\n<p>\u8f6c\u5230&#8221;\u670d\u52a1&gt;HAProxy&gt;\u8bbe\u7f6e&gt;\u865a\u62df\u670d\u52a1&gt;\u540e\u7aef\u6c60&#8221;\uff0c\u521b\u5efa\u4e00\u4e2a\u540e\u7aef\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/9.png\" alt=\"\" width=\"1908\" height=\"460\" \/><\/a><\/p>\n<p>\u7531\u4e8e\u4ec5\u6307\u793a\u4f7f\u7528\u7684\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u4fdd\u7559\u9ed8\u8ba4\u9009\u9879\u3002\u9a8c\u8bc1\u5e76\u5e94\u7528\u4fee\u6539\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u8f6c\u5230\u201c\u670d\u52a1&gt;HAProxy&gt;\u8bbe\u7f6e&gt;\u89c4\u5219\u548c\u68c0\u67e5&gt;\u6761\u4ef6\u201d\u4e2d\u521b\u5efa\u4e00\u4e2a\u6761\u4ef6\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/10.png\" alt=\"\" width=\"1919\" height=\"500\" \/><\/a><\/p>\n<p>\u521b\u5efa\u5982\u4e0b\u56fe\u6240\u793a\u7684\u6761\u4ef6\u5e76\u8fdb\u884c\u9a8c\u8bc1\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/11.png\" alt=\"\" width=\"1919\" height=\"626\" \/><\/a><\/p>\n<p>\u73b0\u5728\u4f7f\u7528\u6b64\u6761\u4ef6\u6765\u521b\u5efa\u89c4\u5219\uff0c\u8f6c\u5230&#8221;\u670d\u52a1&gt;HAProxy&gt;\u8bbe\u7f6e&gt;\u89c4\u5219\u548c\u68c0\u67e5&gt;\u89c4\u5219&#8221;\u3002\u6dfb\u52a0\u4e00\u6761\u89c4\u5219\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/12.png\" alt=\"\" width=\"1920\" height=\"806\" \/><\/a>\u6700\u540e\uff0c\u6211\u4eec\u6765\u521b\u5efa\u4e00\u4e2a\u524d\u7aef\uff0c\u8f6c\u5230&#8221;\u670d\u52a1&gt;HAProxy&gt;\u8bbe\u7f6e&gt;\u865a\u62df\u670d\u52a1&gt;\u516c\u5171\u670d\u52a1&#8221;\u3002\u5728\u8fd9\u91cc\u8f93\u5165\u516c\u7f51\u5730\u5740\uff0c\u5fc5\u987b\u4ece\u5916\u90e8\u53ef\u4ee5\u5728\u8be5\u516c\u7f51\u5730\u5740\u4e0a\u8bbf\u95eeExchange\u3002\u8fd8\u5fc5\u987b\u6fc0\u6d3bSSL\u6a21\u5f0f\u5e76\u586b\u5199\u9ed8\u8ba4\u7684OPNsense\u8bc1\u4e66\u3002\u5e94\u7528\u5148\u524d\u521b\u5efa\u7684\u89c4\u5219\u8fdb\u884c\u9a8c\u8bc1\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/13.png\" alt=\"\" width=\"1908\" height=\"876\" \/><\/a><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/14.png\" alt=\"\" width=\"1908\" height=\"877\" \/><\/a><\/p>\n<p>\u6700\u540e\uff0c\u542f\u7528HAProxy\u670d\u52a1\uff0c\u8f6c\u5230&#8221;\u670d\u52a1&gt;HAProxy&gt;\u8bbe\u7f6e&#8221;\uff0c\u9009\u4e2d&#8221;\u542f\u7528HAProxy&#8221;\uff0c\u5bf9\u4e8e\u5df2\u7ecf\u6fc0\u6d3bHAProxy\u670d\u52a1\u7684\uff0c\u5efa\u8bae\u91cd\u65b0\u542f\u52a8\u8be5\u670d\u52a1\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/15.png\" alt=\"\" width=\"1920\" height=\"446\" \/><\/a><\/p>\n<p>\u73b0\u5728\u7528\u57df\u540d\u8bbf\u95eeExchange\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u770b\u5230\u5b83\u786e\u5b9e\u5177\u6709\u8bc1\u4e66\uff0c\u4f46\u662f\u65e0\u6548\uff0c\u56e0\u4e3a\u5b83\u662fOPNsense\u63d0\u4f9b\u7684\u8bc1\u4e66\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/17.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/17.png\" alt=\"\" width=\"1920\" height=\"945\" \/><\/a><\/p>\n<h1>\u914d\u7f6eLet\u2019s Encrypt<\/h1>\n<p>\u201cLet\u2019s Encrypt\u201d\u5bf9\u53d1\u884c\u6709\u6548\u8bc1\u4e66\u8fdb\u884c\u4e86\u9650\u5236\uff0c\u53ea\u53d1\u884c\u6709\u9650\u6570\u91cf\u7684\u8bc1\u4e66\u3002\u56e0\u6b64\u5728\u6d4b\u8bd5\u5b8c\u6210\u540e\u518d\u5207\u6362\u5230\u751f\u4ea7\u73af\u5883\u662f\u6709\u5fc5\u8981\u7684\u3002\u56e0\u6b64 \uff0c\u9009\u62e9\u201c Staging Environment \u201d\uff0c\u6fc0\u6d3b\u63d2\u4ef6\uff0c\u6fc0\u6d3bHAProxy\u96c6\u6210\uff0c\u7136\u540e\u5355\u51fb\u201c \u5e94\u7528\u66f4\u6539\u201d\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/23.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/23.png\" alt=\"\" width=\"1920\" height=\"639\" \/><\/a><\/p>\n<p>\u4e0b\u9762\uff0c\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u5e10\u6237\uff0c\u8f6c\u5230\u201c\u670d\u52a1&gt;Let\u2019s Encrypt&gt;\u5e10\u53f7\u201d\uff0c\u586b\u5199\u5e10\u53f7\u4fe1\u606f\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/19.png\" alt=\"\" width=\"1920\" height=\"638\" \/><\/a><\/p>\n<p>\u8f6c\u5230&#8221;\u670d\u52a1&gt;Let\u2019s Encrypt&gt;\u5e10\u53f7&gt;\u9a8c\u8bc1\u65b9\u6cd5&#8221;\uff0c\u9a8c\u8bc1\u7c7b\u578b\u9009HTTP-01\uff0cHTTP\u670d\u52a1\u9009\u62e9HAProxy Frontend integration\u3002\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/20.png\" alt=\"\" width=\"1920\" height=\"801\" \/><\/a><\/p>\n<p>\u73b0\u5728\uff0c\u6211\u4eec\u5c06\u8f6c\u5230\u201c\u8bc1\u4e66 \u201d\u90e8\u5206\u6765\u7f16\u8f91\u8bc1\u4e66\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/21.png\" alt=\"\" width=\"1920\" height=\"818\" \/><\/a><\/p>\n<p>\u6211\u4eec\u5355\u51fb\u201c\u9881\u53d1\/\u7eed\u8ba2\u8bc1\u4e66\u201d\u6765\u521b\u5efa\u8bc1\u4e66\u3002\u901a\u5e38\u53ef\u80fd\u4f1a\u6536\u5230\u9519\u8bef\u6d88\u606f\uff0c\u56e0\u4e3a\u57df\u9a8c\u8bc1\u5931\u8d25\u3002\u8fd9\u662f\u6b63\u5e38\u73b0\u8c61\uff0c\u6211\u4eec\u5df2\u5c06Exchange\u914d\u7f6e\u4e3a\u4fa6\u542c\u7aef\u53e3443\uff08HTTPS\uff09\uff0c\u4f46\u662fLet\u2019s Encrypt\u4f7f\u7528HTTP-01\u6765\u9a8c\u8bc1\u57df\uff0c\u8be5\u65b9\u6cd5\u9700\u8981\u5728\u7aef\u53e380\uff08HTTP\uff09\u4e0a\u5b8c\u6210\u7684\u3002\u56e0\u6b64\uff0c\u8fd8\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u989d\u5916\u7684\u524d\u7aef\uff0c\u8be5\u524d\u7aef\u5c06\u5728\u7aef\u53e380\uff08HTTP\uff09\u4e0a\u4fa6\u542c\u8be5\u524d\u7aef\uff0c\u4ee5\u4fbf\u201cLet\u2019s Encrypt\u201d\u53ef\u4ee5\u9a8c\u8bc1\u8be5\u57df\u3002<\/p>\n<h1>\u9a8c\u8bc1\u57df\u540d<\/h1>\n<p>\u8fd4\u56de\u5230&#8221;\u670d\u52a1&gt;HAProxy&gt;\u8bbe\u7f6e&gt;\u865a\u62df\u670d\u52a1&gt;\u516c\u5171\u670d\u52a1&#8221;\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u524d\u7aef\uff0c\u5b8c\u6210\u540e\u5355\u51fb\u201c\u5e94\u7528\u201d\u3002\u901a\u8fc7\u5728&#8221;Let\\&#8217;s Encrypt&#8221;\u4e2d\u542f\u7528HAProxy\u96c6\u6210\uff0c\u5b83\u5728HAProxy\u4e2d\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a\u201c redirect_acme_challenge\u201d\u7684\u89c4\u5219\u3002\u8be5\u89c4\u5219\u4f7f\u201cLet\\&#8217;s Encrypt\u201d\u53ef\u4ee5\u9a8c\u8bc1\u6211\u4eec\u7684\u57df\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/24.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/24.png\" alt=\"\" width=\"1918\" height=\"839\" \/><\/a><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/25.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/25.png\" alt=\"\" width=\"1911\" height=\"876\" \/><\/a><\/p>\n<p>\u8fd4\u56de\u5230\u201cLet\\&#8217;s Encrypt&#8221;\u63d2\u4ef6\u7684\u201c\u8bc1\u4e66\u201d\u6807\u7b7e \uff0c\u7136\u540e\u518d\u6b21\u9a8c\u8bc1\u57df\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/26.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/26.png\" alt=\"\" width=\"1920\" height=\"539\" \/><\/a><\/p>\n<p>\u5982\u679c\u4e00\u5207\u987a\u5229\uff0c\u5e94\u8be5\u5728&#8221;Last Acme Status&#8221;\u4e0b\u770b\u5230\u4e00\u4e2a\u201c OK \u201d \uff0c\u4e5f\u53ef\u4ee5\u5728&#8221;\u7cfb\u7edf&gt;\u8bc1\u4e66&gt;\u8bc1\u4e66&#8221;\u4e2d\u67e5\u770b\u83b7\u5f97\u7684\u8bc1\u4e66\u3002<\/p>\n<h1>\u5207\u6362\u5230\u751f\u4ea7\u73af\u5883<\/h1>\n<p>\u6d4b\u8bd5\u6b63\u5e38\u540e\uff0c\u5c31\u53ef\u4ee5\u5207\u6362\u5230\u751f\u4ea7\u73af\u5883\uff0c\u5e76\u7528\u65b0\u8bc1\u4e66\u66ff\u6362\u65e7\u8bc1\u4e66\u3002<br \/>\n\u5bfc\u822a\u5230&#8221;\u670d\u52a1&gt;Let\\&#8217;s Encrypt&gt;\u8bbe\u7f6e&#8221;\uff0c\u9009\u62e9\u751f\u4ea7\u73af\u5883\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/27.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/27.png\" alt=\"\" width=\"1920\" height=\"719\" \/><\/a><\/p>\n<p>\u9009\u62e9\u540e\uff0c\u5fc5\u987b\u91cd\u65b0\u9a8c\u8bc1\u8bc1\u4e66\u3002\u8fd4\u56de\u5230\u201c\u8bc1\u4e66\u201d\u6807\u7b7e\uff0c \u7136\u540e\u518d\u6b21\u8981\u6c42\u9a8c\u8bc1\u57df\u3002<\/p>\n<h1>\u66f4\u6362\u8bc1\u4e66<\/h1>\n<p>\u73b0\u5728\u8f6c\u5230&#8221;\u670d\u52a1&gt;HAProxy&gt;\u8bbe\u7f6e&gt;\u865a\u62df\u670d\u52a1&gt;\u516c\u5171\u670d\u52a1&#8221;\u3002\u9009\u62e9\u5728\u7aef\u53e3443\u4e0a\u4fa6\u542c\u7684\u524d\u7aef\uff0c\u7136\u540e\u7f16\u8f91\u53c2\u6570\u3002\u5220\u9664\u65e7\u8bc1\u4e66\uff0c\u9009\u62e9\u65b0\u8bc1\u4e66\uff0c\u7136\u540e\u63d0\u4ea4\u66f4\u6539\u3002<a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/28.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2021\/03\/28.png\" alt=\"\" width=\"1920\" height=\"717\" \/><\/a><\/p>\n<p>\u5b8c\u6210\u4e0a\u8ff0\u6240\u6709\u6b65\u9aa4\u540e\uff0c\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\u57df\u540d\uff0c\u5c31\u53ef\u4ee5\u770b\u5230\u7ad9\u70b9\u73b0\u5728\u5df2\u7ecf\u6709\u4e86Let\\&#8217;s Encrypt\u7b7e\u540d\u7684\u8bc1\u4e66\uff01<br \/>\n\u6700\u540e\uff0c\u4e0d\u8981\u5fd8\u8bb0\u5728OPNsense\u4e2d\u914d\u7f6eHAProxy\u65e5\u5fd7\uff0c\u4ee5\u4fbf\u80fd\u591f\u8ddf\u8e2a\u524d\u7aef\u4e0a\u7684\u8fde\u63a5\u3002<\/p>\n<\/div>\n<div id=\"gtx-trans\" style=\"position: absolute; left: 339px; top: 7059.72px;\">\n<div class=\"gtx-trans-icon\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>OPNSense\u53ef\u4ee5\u76f4\u63a5\u4eceLet\\&#8217;s Encrypt\u8bf7\u6c42\u514d\u8d39\u8bc1\u4e66\uff0c &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=6807\">\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":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[165],"class_list":["post-6807","post","type-post","status-publish","format-standard","hentry","category-opnsense","tag-haproxy"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/6807","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=6807"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/6807\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}