语法: lua_ssl_trusted_certificate <file>
默认: no
环境: http, server, location
指定一个 PEM 格式信任 CA 证书文件,在tcpsock:sslhandshake方法里验证 SSL/TLS 服务的证书。
该指令是在v0.9.11
版本首次引入的。
也可以看看 lua_ssl_verify_depth.
English source:
syntax: lua_ssl_trusted_certificate <file>
default: no
context: http, server, location
Specifies a file path with trusted CA certificates in the PEM format used to verify the certificate of the SSL/TLS server in the tcpsock:sslhandshake method.
This directive was first introduced in the v0.9.11
release.
See also lua_ssl_verify_depth.