Uangski opened a new issue #4322:
URL: https://github.com/apache/apisix/issues/4322
你好,我有 etcd集群,设置了 tls 方式连接,有 ca-file、key-file 以及 cert-file 三个文件,如何配置 apisix
.conf 呢?
模板里是这么配置的
etcd:
host:
- "https://admin.apisix.dev:22379"
prefix: "/apisix"
tls:
cert: t/certs/mtls_client.crt
key: t/certs/mtls_client.key
模板里只有 cert和key 。没有ca选项,最终连接不了 etcd集群。请问下我这种情况,该如何配置呢?
### Issue description
### Environment
Request help without environment information will be ignored or closed.
* apisix version (cmd: `apisix version`):
* OS (cmd: `uname -a`):
* OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
* etcd version, if have (cmd: run `curl
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
* apisix-dashboard version, if have:
* luarocks version, if the issue is about installation (cmd: `luarocks
--version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]