soulbird commented on code in PR #9247:
URL: https://github.com/apache/apisix/pull/9247#discussion_r1163463230


##########
apisix/ssl.lua:
##########
@@ -252,9 +253,14 @@ function _M.check_ssl_conf(in_dp, conf)
         end
     end
 
-    local ok, err = validate(conf.cert, conf.key)
-    if not ok then
-        return nil, err
+    -- when cert or key is referenced by secret, avoid dynamic verification of 
it

Review Comment:
   new_ssl_value will not be nil, there is no need to check



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to