Open Firefox or Chrome to Write to Sslkeylogfile
I Have Exported a New User Variable Sslkeylogfile Using the Command: Export Sslkeylogfile=($Home)/Sslkeylog. Log If I Open Firefox or Chrome Normally, No...
I have exported a new user variable SSLKEYLOGFILE using the command:
export SSLKEYLOGFILE=($HOME)/sslkeylog.log
If I open Firefox or Chrome normally, no sslkeylog.log file is created (even if created, its empty even if I browse through ssl traffic through the browser). Is there a special terminal command to open the browsers with these features enabled? If yes then what?
3 Answers
Omit the parentheses
If you execute export (without parameters) after your command, you will see that SSLKEYLOGFILE is set to (/home/username)/sslkeylog.log, which is not a valid path. Omit the parentheses:
export SSLKEYLOGFILE=$HOME/sslkeylog.log