anjia0532 commented on issue #4514:
URL: https://github.com/apache/apisix/issues/4514#issuecomment-872794395
@spacewander Yes. Run the curl command inside website docker image
`apache/apisix:2.7-alpine`.
```
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
```
configure the conf/config.yaml
```yaml
nginx_config:
# ...
http:
lua_ssl_verify_depth: 2
lua_ssl_trusted_certificate: "/etc/ssl/certs/ca-certificates.crt"
# ...
```
and restart apisix container
error again
`2021/07/02 01:51:23 [error] 44#44: *25319 [lua] nacos.lua:303:
get_url:ns/instance/list?healthyOnly=true&serviceName= err:20: unable to get
local issuer certificate, context: ngx.timer`
--
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]