Install certitifcates #943
Replies: 8 comments
-
Are there any errors in about:policies? |
Beta Was this translation helpful? Give feedback.
-
Hi mkaply, thanks for the quick reaction.
|
Beta Was this translation helpful? Give feedback.
-
Can you go to the javsacript console and see if there is a more detailed error? |
Beta Was this translation helpful? Give feedback.
-
Here is a copy of logs
|
Beta Was this translation helpful? Give feedback.
-
We can't really import PKCS12 bundles because they could involve UI. You need to convert it to an X509 certificate. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. I tried converting my key with following openssl command But when trying to manually import this file in Firefox certificates, I systematically get following error message
|
Beta Was this translation helpful? Give feedback.
-
From the developer: "It looks like they're trying to import a client authentication certificate and associated private key, which that api can't do. In fact, as far as I know, there's no policy that can do that. They can either use something like p11-kit to provide the certificate and key or use NSS' certutil to directly add them to their profile's cert/key dbs" |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your help mkaply. I decided to manage only Bookmarks via policies, and handle certificates another way : using pk12util to import, or fully copy a profile cert/key databases. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I cannot manage to get 'Install -> Certificates' to work properly.
I am working under Ubuntu 20.04, with Firefox 103.0
I am trying to install a PKCS12 certificate using /didtribution/policies.json with following lines
Whatever I do, after starting Firefox, this certificate does not appear in Firefox certificates lists.
Note that in parallel, I have 'ManagedBookmarks' set in my policies.json : which are properly displayed in Firefox Bookmarks toolbar.
Also note that installing this same PKCS12 certificate by manualy going to Firefox settings works properly but only for current user.
Is the format of the certificate important (PKCS12,PEM,...) ?
Does anything need to be done with the certificate before adding it's path to policies.json file ?
Is this declaration with an absolute path valid, and are there any requirements on file access rights ?
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions