X
Tap here to go to the mobile version of the site.

Support Forum

How to add a certificate for localhost to Servers certificate automatically using C# in windows?

Posted

I have an app run websocket on localhost and I need to install the server certificate automatically. is there a way to install certificate into firefox using C#

I have an app run websocket on localhost and I need to install the server certificate automatically. is there a way to install certificate into firefox using C#

Chosen solution

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

More Information

WestEnd
  • Top 25 Contributor
62 solutions 5373 answers

I think if you did a search on the site here it would get a post close to what your asking.

https://support.mozilla.org/en-US/questions/1059377

Otherwise you might have to do a online search for doing that as well.

I think if you did a search on the site here it would get a post close to what your asking. https://support.mozilla.org/en-US/questions/1059377 Otherwise you might have to do a online search for doing that as well.
cor-el
  • Top 10 Contributor
  • Moderator
17415 solutions 157335 answers

Chosen Solution

You can install certificates via a policies.json file.

You can install certificates via a policies.json file. *https://github.com/mozilla/policy-templates/blob/master/README.md