如何在Apache Apisix和ETCD之间启用MTL?
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,您需要准备一对客户端证书和私钥。然后将其配置在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 certificateetcd.tls.key
: client private keyapisix.ssl. ssl_trusted_certificate
: CA certificate to verify the ETCD server certificate