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
   
   
![image](https://user-images.githubusercontent.com/44010674/100756849-9e0e3700-3428-11eb-91ec-4dee251cb1b2.png)
   


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


Reply via email to