如何在Apache Apisix和ETCD之间启用MTL?

发布于 2025-02-03 07:19:23 字数 72 浏览 1 评论 0原文

Apisix使用ETCD作为配置中心,我在ETCD中配置并启用了MTL,以进行安全数据传输,如何在Apisix中配置它以使其有效?

APISIX uses etcd as the configuration center, I have configured and enabled mTLS in etcd for secure data transfer, how do I configure it in APISIX to make it effective?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最美不过初阳 2025-02-10 07:19:23

首先,您需要准备一对客户端证书和私钥。然后将其配置在Apisix上。您可以在config.yaml中指定它们。相关字段为:

  • etcd.tls.cert:客户端证书
  • etcd.tls.key:客户端私有密钥
  • apisix.ssl。 ssl_trusted_certificate:CA证书以验证ETCD服务器证书

First of all, you need to prepare a pair of client certificate and private key. Then configure it on APISIX. You can specify them in the config.yaml. The related fields are:

  • etcd.tls.cert: client certificate
  • etcd.tls.key: client private key
  • apisix.ssl. ssl_trusted_certificate: CA certificate to verify the ETCD server certificate
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文