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

Installing Multiple Certificate Authorities with Firefox Policies JSON

  • 1 reply
  • 1 has this problem
  • 8 views
  • Last reply by cor-el

more options

I'm trying to install multiple Root CA's using Firefox policies. I have a folder with 50 Certificates and while I know I can specify them each individually using "Certificates | Install" like in the example below, I wanted to know if there was a way to point to a whole folder and install those certs since it is way less messy that way.

I know the documentation says you can specify specific paths to files like so Example:

{

 "policies": {
   "Certificates": {
     "Install": ["cert1.der", "/home/username/cert2.pem"]
   }
 }

}

But I was trying to do something like this (So far unsucessfully): "Install": ["/path/to/folder/*.crt"] or "Install": ["/path/to/folder/*"] or "Install": ["/path/to/folder/"] or "Install": ["/path/to/folder"]

I also know there are other ways to install certs to Firefox programmatically but I liked how simple the .json method was.

I'm trying to install multiple Root CA's using Firefox policies. I have a folder with 50 Certificates and while I know I can specify them each individually using "Certificates | Install" like in the example below, I wanted to know if there was a way to point to a whole folder and install those certs since it is way less messy that way. I know the documentation says you can specify specific paths to files like so [https://github.com/mozilla/policy-templates/blob/master/README.md#certificates--install Example]: { "policies": { "Certificates": { "Install": ["cert1.der", "/home/username/cert2.pem"] } } } But I was trying to do something like this (So far unsucessfully): "Install": ["/path/to/folder/*.crt"] or "Install": ["/path/to/folder/*"] or "Install": ["/path/to/folder/"] or "Install": ["/path/to/folder"] I also know there are other ways to install certs to Firefox programmatically but I liked how simple the .json method was.

All Replies (1)

more options