You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/29 13:35:54 UTC

[GitHub] [apisix] spacewander commented on a change in pull request #5640: feat: report error when use etcd client cert auth

spacewander commented on a change in pull request #5640:
URL: https://github.com/apache/apisix/pull/5640#discussion_r758365827



##########
File path: apisix/cli/etcd.lua
##########
@@ -347,6 +347,11 @@ function _M.init(env, args)
                 util.die(errmsg)
             end
 
+            if res_put:find("CommonName of client sending a request against gateway", 1, true) then
+                errmsg = str_format("Etcd client cert auth cannot be used with gRPC-gateway\n")

Review comment:
       ```suggestion
                   errmsg = str_format("etcd client cert auth cannot be used with gRPC-gateway\n")
   ```




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