搜尋 Mozilla 技術支援網站

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

Learn More

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

  • 3 回覆
  • 1 有這個問題
  • 1002 次檢視
  • 最近回覆由 cor-el

more options

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!

被選擇的解決方法

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.

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

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.

more options

選擇的解決方法

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.

more options