tokers opened a new pull request #2548:
URL: https://github.com/apache/apisix/pull/2548


   ### What this PR does / why we need it:
   
   Support the TLS connection when communicating with etcd cluster. We added a 
configuration item to custom the certificate verification. Whether to setup TLS 
connection or not depends on the endpoints' scheme, for instance, when 
endpoints are:
   
   ```
   etcd:
     host:
       - "https://127.0.0.1:2379";
       - "https://127.0.0.1:3379";
   ```
   
   APISIX will originate TLS connection automatically, and the Server Name 
Indication extention will be set by the endpoint host (`127.0.0.1` in above 
case).
   
   This PR depends on https://github.com/api7/lua-resty-etcd/pull/86.
   
   ### Pre-submission checklist:
   
   * [x] Did you explain what problem does this PR solve? Or what new features 
have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [x] Is this PR backward compatible?
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to