This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Import Certificates button not functioning

more options

I am attempting to import server certificates into Firefox. But the "Import" button does nothing when viewing certificates. Any work around? I need to import our server certificates into the Authorities section.

Ubuntu 22.04 Firefox installed through snap. Version 104.0 just upgraded this afternoon.

Thank you, James

I am attempting to import server certificates into Firefox. But the "Import" button does nothing when viewing certificates. Any work around? I need to import our server certificates into the Authorities section. Ubuntu 22.04 Firefox installed through snap. Version 104.0 just upgraded this afternoon. Thank you, James

Chosen solution

Hi James, do Browse... buttons call up your system file browser? If not, it's probably because Firefox is trying to call a file picker that isn't installed or isn't enabled.

I don't know which versions of Linux are affected, but some users need to make either of these two changes to make the file/directory picker appear. As a Windows user, I can't verify this myself

(A) Install xdg-desktop-portal

This would be from your package manager, I think.

(B) Turn off auto-detection of the GTK portal

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste widget.use-xdg-desktop-portal.file-picker and pause while the list is filtered

(3) Double-click the preference to display an editing field, and change the value to 0 then press Enter or click the blue check mark button to save the change. For reference, these are the valid values:

  • 0 => Never
  • 1 => Always
  • 2 => Auto-detect

Now... there are a bunch of other preferences starting with widget.use-xdg-desktop-portal. and I have no idea what those do. If your distribution has a support site with a Firefox board or active Firefox discussions, you might search there for more tips.

Read this answer in context 👍 0

All Replies (2)

more options

Chosen Solution

Hi James, do Browse... buttons call up your system file browser? If not, it's probably because Firefox is trying to call a file picker that isn't installed or isn't enabled.

I don't know which versions of Linux are affected, but some users need to make either of these two changes to make the file/directory picker appear. As a Windows user, I can't verify this myself

(A) Install xdg-desktop-portal

This would be from your package manager, I think.

(B) Turn off auto-detection of the GTK portal

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste widget.use-xdg-desktop-portal.file-picker and pause while the list is filtered

(3) Double-click the preference to display an editing field, and change the value to 0 then press Enter or click the blue check mark button to save the change. For reference, these are the valid values:

  • 0 => Never
  • 1 => Always
  • 2 => Auto-detect

Now... there are a bunch of other preferences starting with widget.use-xdg-desktop-portal. and I have no idea what those do. If your distribution has a support site with a Firefox board or active Firefox discussions, you might search there for more tips.

more options

Package was installed and up to date. The last item corrected the issue. Changing the setting from 2 to 0 allowed the file picker to appear. Thank you for the response. James