Skip to content

feature: lua_ssl_key_log directive #2433

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

Merged
merged 6 commits into from
Jul 1, 2025

Conversation

willmafh
Copy link
Contributor

lua_ssl_key_log directive

  • The lua_ssl_key_log directive is like the ssl_key_log of Nginx, but instead it logs client connection SSL keys in the tcpsock:sslhandshake method.
  • Combining captured packets and key log file generated by this directive, it's good for us to debug encrypted traffic, like the following testing shows

testing

  • here using Wireshark to illustrate the usage of the key log file
    wireshark
  • before using key log file
    encrypted_traffic
  • after using key log file
    decrypted_traffic

willmafh and others added 5 commits July 1, 2025 16:15
@zhuizhuhaomeng zhuizhuhaomeng merged commit 9aed90f into openresty:master Jul 1, 2025
2 of 3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants