Firefox not creating sslkeylog file after setting SSLKEYLOGFILE variable

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I ran this in the terminal: export SSLKEYLOGFILE=/home/user/sslkeylog



After opening regular Firefox, the developer version of Firefox and Chromium, "sslkeylog" was never created, even after visiting a site that uses TLS. I also tried setting the file name to "sslkeylog.log", but that did not help either.



I want to decrypt my web browser traffic using wireshark.
`







share|improve this question




















  • How did you open FF after having run that terminal command? From terminal or from the graphical environment?
    – Gunnar Hjalmarsson
    May 16 at 22:19











  • I opened FF from the graphical environment. After opening it from the terminal, the sslkeylog file was succesffully created. Thank you.
    – J. DOe
    May 16 at 22:21










  • The conclusion then is that you need to set that variable persistently, e.g. in ~/.profile which is sourced by the display manager at login.
    – Gunnar Hjalmarsson
    May 16 at 22:22















up vote
0
down vote

favorite












I ran this in the terminal: export SSLKEYLOGFILE=/home/user/sslkeylog



After opening regular Firefox, the developer version of Firefox and Chromium, "sslkeylog" was never created, even after visiting a site that uses TLS. I also tried setting the file name to "sslkeylog.log", but that did not help either.



I want to decrypt my web browser traffic using wireshark.
`







share|improve this question




















  • How did you open FF after having run that terminal command? From terminal or from the graphical environment?
    – Gunnar Hjalmarsson
    May 16 at 22:19











  • I opened FF from the graphical environment. After opening it from the terminal, the sslkeylog file was succesffully created. Thank you.
    – J. DOe
    May 16 at 22:21










  • The conclusion then is that you need to set that variable persistently, e.g. in ~/.profile which is sourced by the display manager at login.
    – Gunnar Hjalmarsson
    May 16 at 22:22













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I ran this in the terminal: export SSLKEYLOGFILE=/home/user/sslkeylog



After opening regular Firefox, the developer version of Firefox and Chromium, "sslkeylog" was never created, even after visiting a site that uses TLS. I also tried setting the file name to "sslkeylog.log", but that did not help either.



I want to decrypt my web browser traffic using wireshark.
`







share|improve this question












I ran this in the terminal: export SSLKEYLOGFILE=/home/user/sslkeylog



After opening regular Firefox, the developer version of Firefox and Chromium, "sslkeylog" was never created, even after visiting a site that uses TLS. I also tried setting the file name to "sslkeylog.log", but that did not help either.



I want to decrypt my web browser traffic using wireshark.
`









share|improve this question











share|improve this question




share|improve this question










asked May 16 at 21:58









J. DOe

91




91











  • How did you open FF after having run that terminal command? From terminal or from the graphical environment?
    – Gunnar Hjalmarsson
    May 16 at 22:19











  • I opened FF from the graphical environment. After opening it from the terminal, the sslkeylog file was succesffully created. Thank you.
    – J. DOe
    May 16 at 22:21










  • The conclusion then is that you need to set that variable persistently, e.g. in ~/.profile which is sourced by the display manager at login.
    – Gunnar Hjalmarsson
    May 16 at 22:22

















  • How did you open FF after having run that terminal command? From terminal or from the graphical environment?
    – Gunnar Hjalmarsson
    May 16 at 22:19











  • I opened FF from the graphical environment. After opening it from the terminal, the sslkeylog file was succesffully created. Thank you.
    – J. DOe
    May 16 at 22:21










  • The conclusion then is that you need to set that variable persistently, e.g. in ~/.profile which is sourced by the display manager at login.
    – Gunnar Hjalmarsson
    May 16 at 22:22
















How did you open FF after having run that terminal command? From terminal or from the graphical environment?
– Gunnar Hjalmarsson
May 16 at 22:19





How did you open FF after having run that terminal command? From terminal or from the graphical environment?
– Gunnar Hjalmarsson
May 16 at 22:19













I opened FF from the graphical environment. After opening it from the terminal, the sslkeylog file was succesffully created. Thank you.
– J. DOe
May 16 at 22:21




I opened FF from the graphical environment. After opening it from the terminal, the sslkeylog file was succesffully created. Thank you.
– J. DOe
May 16 at 22:21












The conclusion then is that you need to set that variable persistently, e.g. in ~/.profile which is sourced by the display manager at login.
– Gunnar Hjalmarsson
May 16 at 22:22





The conclusion then is that you need to set that variable persistently, e.g. in ~/.profile which is sourced by the display manager at login.
– Gunnar Hjalmarsson
May 16 at 22:22











1 Answer
1






active

oldest

votes

















up vote
1
down vote













The variable you describe works as intended for me on Firefox 62. Perhaps the browser builds you are using have been built to ignore the variable? From https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format:




[S]tarting with NSS 3.24 (used by Firefox 48 and 49 only), the
SSLKEYLOGFILE approach is disabled by default for optimized builds
using the Makefile (those using gyp via build.sh are not affected).
Distributors can re-enable it at compile time though (using the
NSS_ALLOW_SSLKEYLOGFILE=1 make variable) which is done for the
official Firefox binaries. (See bug 1188657.) Notably, Debian does not
have this option enabled, see Debian bug 842292.







share|improve this answer




















  • I only have Firefox 60 and 61.0b5, though it should work on these versions according to the link in your answer. Perhaps it would work if I tried it on Firefox 62.
    – J. DOe
    May 16 at 22:17










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037134%2ffirefox-not-creating-sslkeylog-file-after-setting-sslkeylogfile-variable%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













The variable you describe works as intended for me on Firefox 62. Perhaps the browser builds you are using have been built to ignore the variable? From https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format:




[S]tarting with NSS 3.24 (used by Firefox 48 and 49 only), the
SSLKEYLOGFILE approach is disabled by default for optimized builds
using the Makefile (those using gyp via build.sh are not affected).
Distributors can re-enable it at compile time though (using the
NSS_ALLOW_SSLKEYLOGFILE=1 make variable) which is done for the
official Firefox binaries. (See bug 1188657.) Notably, Debian does not
have this option enabled, see Debian bug 842292.







share|improve this answer




















  • I only have Firefox 60 and 61.0b5, though it should work on these versions according to the link in your answer. Perhaps it would work if I tried it on Firefox 62.
    – J. DOe
    May 16 at 22:17














up vote
1
down vote













The variable you describe works as intended for me on Firefox 62. Perhaps the browser builds you are using have been built to ignore the variable? From https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format:




[S]tarting with NSS 3.24 (used by Firefox 48 and 49 only), the
SSLKEYLOGFILE approach is disabled by default for optimized builds
using the Makefile (those using gyp via build.sh are not affected).
Distributors can re-enable it at compile time though (using the
NSS_ALLOW_SSLKEYLOGFILE=1 make variable) which is done for the
official Firefox binaries. (See bug 1188657.) Notably, Debian does not
have this option enabled, see Debian bug 842292.







share|improve this answer




















  • I only have Firefox 60 and 61.0b5, though it should work on these versions according to the link in your answer. Perhaps it would work if I tried it on Firefox 62.
    – J. DOe
    May 16 at 22:17












up vote
1
down vote










up vote
1
down vote









The variable you describe works as intended for me on Firefox 62. Perhaps the browser builds you are using have been built to ignore the variable? From https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format:




[S]tarting with NSS 3.24 (used by Firefox 48 and 49 only), the
SSLKEYLOGFILE approach is disabled by default for optimized builds
using the Makefile (those using gyp via build.sh are not affected).
Distributors can re-enable it at compile time though (using the
NSS_ALLOW_SSLKEYLOGFILE=1 make variable) which is done for the
official Firefox binaries. (See bug 1188657.) Notably, Debian does not
have this option enabled, see Debian bug 842292.







share|improve this answer












The variable you describe works as intended for me on Firefox 62. Perhaps the browser builds you are using have been built to ignore the variable? From https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format:




[S]tarting with NSS 3.24 (used by Firefox 48 and 49 only), the
SSLKEYLOGFILE approach is disabled by default for optimized builds
using the Makefile (those using gyp via build.sh are not affected).
Distributors can re-enable it at compile time though (using the
NSS_ALLOW_SSLKEYLOGFILE=1 make variable) which is done for the
official Firefox binaries. (See bug 1188657.) Notably, Debian does not
have this option enabled, see Debian bug 842292.








share|improve this answer












share|improve this answer



share|improve this answer










answered May 16 at 22:13









dsstorefile1

1,243111




1,243111











  • I only have Firefox 60 and 61.0b5, though it should work on these versions according to the link in your answer. Perhaps it would work if I tried it on Firefox 62.
    – J. DOe
    May 16 at 22:17
















  • I only have Firefox 60 and 61.0b5, though it should work on these versions according to the link in your answer. Perhaps it would work if I tried it on Firefox 62.
    – J. DOe
    May 16 at 22:17















I only have Firefox 60 and 61.0b5, though it should work on these versions according to the link in your answer. Perhaps it would work if I tried it on Firefox 62.
– J. DOe
May 16 at 22:17




I only have Firefox 60 and 61.0b5, though it should work on these versions according to the link in your answer. Perhaps it would work if I tried it on Firefox 62.
– J. DOe
May 16 at 22:17












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037134%2ffirefox-not-creating-sslkeylog-file-after-setting-sslkeylogfile-variable%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491