TLS key log file
The GnuTLS module should support saving the TLS session secrets in the NSS SSL key log format. This would enable inspecting TLS sessions in Wireshark.
See also https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format