Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 628 Bytes

mod_key_log.md

File metadata and controls

33 lines (22 loc) · 628 Bytes

Introduction

ModuleKeyLog writes tls key logs in NSS key log format so that external programs(eg. wireshark) can decrypt TLS connections for trouble shooting.

For more information about NSS key log format, see: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format

Configuration

  • Module config file

    conf/mod_key_log/mod_key_log.conf

    [Log]
    # filename prefix for log 
    LogPrefix = key
    
    # log directory 
    LogDir = ./log
    
    # interval to rotate logs: M/H/D
    # - M: minute
    # - H: hour
    # - D: day
    RotateWhen = H 
    
    # max number of rotated log files
    BackupCount = 3