Skip to content

help request: Error "lua_ssl_trusted_certificate" directive is duplicate in /usr/local/apisix/conf/nginx.conf:240 #9381

Description

@Sachkov-Aleksandr

Description

Hello.
I am trying to install APICIS via Helm chart. At the same time, I need to link the control plane and etcd via mtls.
I have separately installed an etcd cluster of three nodes. Configured values for the control plane and mtls. And deploy Helm.
But in APISIX, when deploying, I get the error /usr/local/openresty//luajit/bin/luajit ./apisix/cli/api sys.lua init_etcd
2023/04/27 11:05:55 [emerg] 1#1: the directive "lua_ssl_trusted_certificate" is duplicated in /usr/local/apisix/conf/nginx.conf:240
nginx: [emerg] the directive "lua_ssl_trusted_certificate" is duplicated in /usr/local/apisix/conf/nginx.conf:240

Please, help me with this problem?

Environment

  • APISIX version (run apisix version): 3.2.0-debian
  • Operating system (run uname -a): K8s 1.22, node OS is debian
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): bitnami/etcd 3.5.7-debian-11-r14
  • APISIX Dashboard version, if relevant: Not dashboard
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status
✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions