foreveryang321 commented on issue #5125:
URL: https://github.com/apache/apisix/issues/5125#issuecomment-926333334
However, I still have doubts.
case 1:
verify: true, it works well.
```yaml
apisix:
...
ssl:
ssl_trusted_certificate: /usr/local/apisix/ssl/etcd-ca.pem
# stream_proxy:
# only: false
# tcp:
# - addr: 9200
# tls: true
etcd:
host:
# - "http://etcd:2379"
- "https://192.168.11.1:2379"
- "https://192.168.11.2:2379"
- "https://192.168.11.3:2379"
prefix: "/apisix"
timeout: 30
tls:
cert: /usr/local/apisix/ssl/etcd.pem
key: /usr/local/apisix/ssl/etcd-key.pem
verify: true
```
case 2:
verify: true, it doesn't work well.
```yaml
apisix:
...
ssl:
ssl_trusted_certificate: /usr/local/apisix/ssl/etcd-ca.pem
stream_proxy:
only: false
tcp:
- addr: 9200
tls: true
etcd:
host:
# - "http://etcd:2379"
- "https://192.168.11.1:2379"
- "https://192.168.11.2:2379"
- "https://192.168.11.3:2379"
prefix: "/apisix"
timeout: 30
tls:
cert: /usr/local/apisix/ssl/etcd.pem
key: /usr/local/apisix/ssl/etcd-key.pem
verify: true
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]