lihansir commented on issue #2908:
URL: https://github.com/apache/apisix/issues/2908#issuecomment-736606169
I've done it myself
1、Install the necessary dependencies
yum install ca-certificates
update-ca-trust
2、Rename certificate
cp /etc/ssl/certs/ca-bundle.crt /etc/ssl/certs/ca-lua.pem
3、Modify the configuration file of nginx, config path :
/usr/local/apisix/conf/nginx.conf
Add the following to the "http" tag:
lua_ssl_trusted_certificate '/etc/ssl/certs/ca-lua.pem’;
4、openresty -p /usr/local/apisix -s reload

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