I'm trying to permanently set SSLKEYLOGFILE variable, following the docs here, I decided to put it in /etc/environment (where PATH is defined). As suggested by Mozilla here, I also specify NSS_ALLOW_SSLKEYLOGFILE=1.
My /etc/environment file looks like this:
PATH="..."
NSS_ALLOW_SSLKEYLOGFILE=1
SSLKEYLOGFILE=/var/log/sslkeylog.log
After restarting my system and browsing some https webpage, I see that no /var/log/sslkeylog.log was created. If I echo $SSLKEYLOGFILE the output is /$HOME/.ssl-key.log, this looks promising but in my home dir there's no such file, also I have no idea why the value is that instead of what I set in the /etc/environment file.
The variable is set permanently but no file is created and/or populated making it utterly useless. Any suggestion on how can I actually get a .ssl-key.log file?
EDIT: echo $SSLKEYLOGFILE returns the same even if I don't set the variable anywhere, so it seems that /$HOME/.ssl-key.log is the original value and I'm unable to overwrite it.