nic-chen commented on issue #2955:
URL: https://github.com/apache/apisix/issues/2955#issuecomment-738845758


   > Oh, I think what I wrote above:
   > 
   > > **This cert/key is never used for encrypting anything (correct??).**
   > 
   > is incorrect, in the default configuration for 2.1. the communication to 
etcd is encrypted by default, right? In the changelog, it says:
   > 
   > > 🌅 **support TLS connection with etcd.**
   > 
   > So that's why you require to have the cert in place at startup right? I 
was confusing this with the cert for encrypting the communication with the 
admin port, that's why I didn't understand this.
   > 
   > So in the current default config, but changing:
   > 
   > ```
   > ssl:
   >     enable: true
   > ...
   > port_admin: 9180 
   > https_admin: false
   > ```
   > 
   > I still require the local cert/key for etcd.
   
   there are two different things here.
   
   what we talk above is about https for client request.
   
   > support TLS connection with etcd.
   is just TLS not mTLS, so we don't need to config cert/key for it.
   


----------------------------------------------------------------
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]


Reply via email to