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

Support Forum

Is there a way to launch from command line and auto accept SSL cert warning?

Posted

I connect to internal systems frequently and that have private certs. I just want to auto add an exception and avoid multiple clicks to get to the actual page. I do not see a way to do this but am hoping for a less documented feature.

Thanks!

I connect to internal systems frequently and that have private certs. I just want to auto add an exception and avoid multiple clicks to get to the actual page. I do not see a way to do this but am hoping for a less documented feature. Thanks!

Chosen solution

Thanks, that is a global option which likely works are described (I didn't test it). I am seeking a command line option. Firefox doesn't really have thorough command line options (I don't want to use profiles for this either). So, i switched to chrome to launch a command line instance with --ignore-certificate-errors which works as desired.

Read this answer in context 0
jscher2000
  • Top 10 Contributor
8800 solutions 71980 answers

If Internet Explorer and Google Chrome work with the certificate, you could try changing this Firefox setting:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste enterp and pause while the list is filtered

(3) Double-click the security.enterprise_roots.enabled preference to switch the value from false to true

With this setting, Firefox should trust certificates signed by authority certificates in the Windows certificate store rather than relying exclusively on its own certificate store. It is slightly less protective because malware is much better at injecting certificates in the system certificate store than in Firefox's. However, this might not be a major concern in your environment.

If Internet Explorer and Google Chrome work with the certificate, you could try changing this Firefox setting: (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk. (2) In the search box above the list, type or paste '''enterp''' and pause while the list is filtered (3) Double-click the '''security.enterprise_roots.enabled''' preference to switch the value from false to true With this setting, Firefox should trust certificates signed by authority certificates in the Windows certificate store rather than relying exclusively on its own certificate store. It is slightly less protective because malware is much better at injecting certificates in the system certificate store than in Firefox's. However, this might not be a major concern in your environment.

Chosen Solution

Thanks, that is a global option which likely works are described (I didn't test it). I am seeking a command line option. Firefox doesn't really have thorough command line options (I don't want to use profiles for this either). So, i switched to chrome to launch a command line instance with --ignore-certificate-errors which works as desired.

Thanks, that is a global option which likely works are described (I didn't test it). I am seeking a command line option. Firefox doesn't really have thorough command line options (I don't want to use profiles for this either). So, i switched to chrome to launch a command line instance with --ignore-certificate-errors which works as desired.
cor-el
  • Top 10 Contributor
  • Moderator
17589 solutions 159124 answers
See also: *https://developer.mozilla.org/Mozilla/Projects/NSS/tools/NSS_Tools_certutil