How to Import Certificates to Flatpak Edge Browser on Linux
When using Watt Toolkit, I noticed that the Flatpak version of the Edge browser does not have a “Certificate Management” option. You can only access the “Certificate Manager” via Edge’s internal link: edge://certificate-manager/localcerts.
After research, there are two methods to import certificates into Edge:
- Use the Edge internal link to import certificates through a graphical method, which is the same as the standard method.
- Copy the certificate to the
/etc/pki/ca-trust/source/anchors/directory.
The
/etc/pki/ca-trust/source/anchors/directory is a core directory for managing system-level trusted root certificates in Fedora/Red Hat-based Linux distributions.However, this path varies across different Linux distributions. If you are using another Linux distribution, you need to find the corresponding directory.
Steps for Importing Certificates Using Method 2
Copy the Certificate File
Copy the certificate file in PEM or DER format (e.g., my-ca.cer) to the aforementioned directory using the following command:
sudo cp /path/to/my-ca.cer /etc/pki/ca-trust/source/anchors/Replace the path
/path/to/my-ca.cerwith the actual location of your certificate file here.
Update the Trust Store
Execute the update-ca-trust command to make the system regenerate the integrated trust store file for use by all applications:
sudo update-ca-trustAdditional Information
When using Method 1 for import, you may encounter an import error. In such cases, you can use Method 2 instead.