Firefox Is Warning About Encryption Key Logging. What Should You Check?
Right after a Firefox update, a banner warns that encryption keys are being logged. Is your PC infected, and what does that key log expose?

- The warning detects a TLS key-logging configuration; it does not diagnose an infection.
- Programs with access to the key log can decrypt the corresponding HTTPS traffic.
- Identify what enabled logging. If connections also fail, investigate the security product’s HTTPS inspection features.
Start with the software that enabled logging
A Firefox warning about recording encryption keys calls for checking local debugging and security tools. Mozilla’s guidance says it does not, by itself, mean the computer is infected. Development tools and security products can use this facility.
Firefox 157, released September 29, added warnings in the site information panel and Settings when the browser is configured to record keys. Seeing one after an update does not mean that update turned recording on. The change makes the configuration visible in those locations.
A logging warning is also different from a verdict that a website’s certificate is invalid. It identifies a local configuration, without proving that someone has already collected your traffic.
The key file can make encrypted traffic readable
The SSLKEYLOGFILE environment variable specifies a file for the secrets. NSS documents how external tools use the log to decrypt TLS packets, including analysis with Wireshark. That is useful when troubleshooting a protocol whose contents would otherwise be encrypted.
It also changes who can read the connection. According to RFC 9850’s security considerations, access to the logged secrets can undermine both confidentiality and integrity for the connections represented in the file. That includes active connections and encrypted records captured earlier.
The scope is those recorded connections, not every website or every historical session. Stopping future logging also does not make an existing key file harmless. The stored secrets still require restricted access.
If pages fail too, isolate HTTPS inspection
If you deliberately enabled TLS debugging, inspect that tool’s launch configuration and log destination. Otherwise, investigate security software. In Mozilla’s documentation request for the warning, the developer describes antivirus software injecting the variable into Firefox to inspect HTTPS and sometimes disrupting connections.
For connection failures accompanied by the warning, Mozilla’s troubleshooting sequence focuses on inspection features:
- Identify installed antivirus, firewall and network-security products.
- Look for HTTPS scanning, encrypted-traffic inspection or web-protection controls.
- If the product permits it, temporarily disable that specific inspection feature and compare the result.
- If the failure disappears, give the result to the security vendor for follow-up.
This is a targeted comparison, not a reason to uninstall the entire security product. On an organization-managed computer, give the product name and warning details to the administrator responsible for that configuration.
Report the symptoms without publishing the secrets
If the problem persists, record the exact error, whether the key-logging warning appeared, the security product in use and which HTTPS inspection features are enabled. Those details help distinguish a browser failure from interference by another program.
Do not attach the raw key log to a public support post. It is not an ordinary settings dump: the secrets can defeat the protection of recorded traffic, which is why the RFC calls for access controls.
The useful outcome is knowing what enabled recording and who can read its output. With that established, you can decide whether the configuration belongs to an intended diagnostic task or should be removed at its source.