nic-6443 commented on code in PR #11993:
URL: https://github.com/apache/apisix/pull/11993#discussion_r1979695966
##########
apisix/cli/ops.lua:
##########
@@ -529,7 +531,7 @@ Please modify "admin_key" in conf/config.yaml .
end
local combined_cert_filepath =
yaml_conf.apisix.ssl.ssl_trusted_combined_path
- or
"/usr/local/apisix/conf/ssl_trusted_combined.pem"
+ or profile.apisix_home ..
"/conf/ssl_trusted_combined.pem"
Review Comment:
I maintain my viewpoint that, from my perspective, the design of allowing
`ssl_trusted_certificate` to support multiple files is very intuitive.
Based on this, in order for nginx/openresty's `ssl_trusted_certificate` to
correctly read multiple files, we have no choice but to merge the files.
This logic is very simple and can be clearly explained in the description of
this configuration, so I don't consider it a black-box design.
It is merely an encapsulation and enhancement of nginx/openresty's
`ssl_trusted_certificate`.
@membphis @moonming @juzhiyuan Need more discussion here.
--
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]