搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Installing Multiple Certificate Authorities with Firefox Policies JSON

  • 1 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 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.

所有回覆 (1)

more options