You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "szhengli (via GitHub)" <gi...@apache.org> on 2023/09/26 13:41:44 UTC

[GitHub] [apisix] szhengli commented on issue #10263: help request: how to config apisix to connect to the etcd cluster via https? many thanks

szhengli commented on issue #10263:
URL: https://github.com/apache/apisix/issues/10263#issuecomment-1735569004

   > https://github.com/apache/apisix/blob/ddac444421dd20b45a78a232f558d364b6fb3fdd/conf/config-default.yaml#L660-L677
   > 
   > use `deployment.etcd.tls`
   
   But, how to set the CA certificate for apisix to connect etcd cluster? 
   
   the below are the parameters required to connect to the etcd cluster
   --cacert /var/lib/rancher/rke2/server/tls/etcd/server-ca.crt  --cert /var/lib/rancher/rke2/server/tls/etcd/client.crt --key /var/lib/rancher/rke2/server/tls/etcd/client.key 
   
   if add cacert after key , apisix will fail to start, and suggest to set  ssl_trusted_certificate ,   but if set it, it still fails to connect the etcd cluster
   
   
   
   
   
   
   
   
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org