5

我想在我的 Ubuntu 16.04.1 LTS 电脑上使用 --headless 选项运行 chrome,我使用 https 协议。这是命令:

$ /usr/bin/google-chrome-stable --allow-running-insecure-content --ignore-certificate-errors --disable-gpu --headless https://<APP_IP>

这是回应:

[0718/105254.243715:ERROR:cert_verify_proc_nss.cc(923)] CERT_PKIXVerifyCert for <APP_IP> failed err=-8172

信息:我使用谷歌浏览器 59.0.3071.115

你能给我任何建议来绕过证书错误吗?

提前谢谢

4

1 回答 1

0

Chrome 团队没有计划支持--ignore-certificate-errors.

来源:https ://groups.google.com/a/chromium.org/forum/#!topic/headless-dev/eiudRsYdc3A

于 2017-08-30T10:16:10.477 回答