• Kone
    2019-07-29
    ssl相关功能用test::nginx是不是测不了?

    作者回复: 可以测试的,你可以看下 https://github.com/openresty/lua-nginx-module/blob/master/t 这个目录下面包含 ssl、tls 的测试文件,比如 https://github.com/openresty/lua-nginx-module/blob/master/t/139-ssl-cert-by.t。

    OpenResty 会先生成一批测试用的证书,放在 https://github.com/openresty/lua-nginx-module/tree/master/t/cert 目录中,然后在测试案例中使用。

    
    
我们在线,来聊聊吧