Open Bug 1654000 Opened 4 years ago Updated 5 months ago

[enterprise roots] trust system roots on linux

Categories

(Core :: Security: PSM, enhancement, P5)

78 Branch
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: adam.kaplan, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [psm-backlog])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

  1. Added my company's trusted certificates to my host (Fedora 32 Silverblue):
    a. Copy corporate cert to /etc/pki/ca-trust/source/anchors
    b. Run update-ca-trust extract
  2. Install flatpak Firefox from flathub:
$ flatpak install flathub org.mozilla.firefox
  1. Remove the default version of Firefox that ships with Fedora Silverblue:
$ rpm-ostree override remove firefox
  1. Reboot computer (to remove Fedora's version of Firefox)
  2. Open Firefox and visit a website which uses the self-signed company certificate as the root CA.

Actual results:

Firefox reports that the website is untrusted:

Error code: SEC_ERROR_UNKNOWN_ISSUER
Message: Peer’s Certificate issuer is not recognized.

Expected results:

Website should be trusted because the root CA certificate is trusted by the host system.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Security: PSM

Firefox does not trust system roots by default. On Windows and macOS, you can enable the enterprise roots feature to make Firefox trust the system roots. On various flavors of linux, we don't have a way to do this yet. In the meantime, you can either import your root into your Firefox profile or use the Fedora repackaged version of Firefox, which as I understand, has modifications to trust the system roots.

Severity: -- → S4
Type: defect → enhancement
Priority: -- → P5
Summary: [flatpak] Firefox does not trust certificates trusted by host → [enterprise roots] trust system roots on linux
Whiteboard: [psm-backlog]
See Also: → 1841043
You need to log in before you can comment on or make changes to this bug.