Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: resty.openssl.x509.chain not found #312

Open
syzh opened this issue Mar 13, 2024 · 3 comments
Open

error: resty.openssl.x509.chain not found #312

syzh opened this issue Mar 13, 2024 · 3 comments

Comments

@syzh
Copy link

syzh commented Mar 13, 2024

the call require('resty.http').new() create a http client object failed。an error when checking the logs

[warn] 8#8: *109 [lua] http_connect.lua:21: failed to load module resty.openssl.*, mTLS isn't supported without lua-resty-openssl: /usr/local/nginx/lib/lua/resty/http_connect.lua:15: module 'resty.openssl.x509.chain' not found:

but the error did not occur in the old version

@pintsized
Copy link
Member

This is not an error, just a warning to indicate that mTLS features will not work. You can adjust your Nginx log level to turn off warnings if you wish.

@diarmuidie
Copy link

It would be nice if there was a way to turn off/disable this warning if you aren't using the mTLS features without having to adjust the global Nginx log level. The warning gets very noisy and we don't want to increase the log level globally in Nginx because it would hide other warnings.

@JustUse
Copy link

JustUse commented Jun 11, 2024

is it dependenced other version openssl? it look like incompatible with lua-resty-openssl-1.3.0-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants