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/30 01:45:18 UTC

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

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



##########
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:
       Also tell users the solution, such as "Please configure the usernamd and password in configuration file".




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