CefView / QCefView

A Qt Widget encapsulated CEF view based on QWidget
https://cefview.github.io/QCefView/
GNU Lesser General Public License v2.1
533 stars 139 forks source link

【提问】目前无法打开https网页,QCefView如何避开SSL认证,从而打开网页 #393

Closed chuiyan2214 closed 4 months ago

chuiyan2214 commented 4 months ago

[0513/140501.213506:ERROR:cert_verify_proc_builtin.cc(679)] CertVerifyProcBuiltin for 10.8.131.107 failed: ----- Certificate i=0 (emailAddress=powerGridProjectTeam@rayin.com,CN=rayin.com,OU=POWER GRID project team,O=Eastone Century Technology Co.\,Ltd.,ST=zhejiang,C=CN) ----- ERROR: No matching issuer found

[0513/140501.213684:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -202

报告了SSL 认证错误,各种原因只能从避开SSL认证入手, QWebEngine可以重写page类避开,不知道这里要怎么避开

tishion commented 4 months ago

--ignore-certificate-errors

chuiyan2214 commented 4 months ago

thank u! I got it!

qht1003077897 commented 4 months ago

--ignore-certificate-errors

运行是添加还是编译时添加?