如何在 MikroTik RouterOS 或 CHR(云托管路由器)上为 HTTPS API 服务使用 Let's Encrypt 证书
一旦你在 MikroTik RouterOS 或 CHR 路由器上设置了 Let’s Encrypt 证书,你可以配置 API 服务使用它。
使用 ssh 登录到你的路由器,例如 ssh admin@chr.mydomain.com。
现在复制并粘贴以下内容:
set_api_ssl_cert.rsc
/ip/service set api-ssl certificate=[/certificate find where name~"^letsencrypt.*"]这仅在存在一个 letsencrypt 证书的情况下测试过。一旦我测试了多个(更新的)证书,我会更新此文章。
Check out similar posts by category:
MikroTik, Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow