[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can WebView ignore SSL Certificate errors?
[Thread Prev] | [Thread Next]
- Subject: Can WebView ignore SSL Certificate errors?
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Tue, 6 May 2025 15:07:16 -0400
- To: Gambas Users <user@xxxxxxxxxxxxxxxxxxxxxx>
I am loading a website in a WebView that always causes SSL handshake errors and somewhat randomly a SSL Certificate error. I suspect the Certificate error is due to a randomly displayed advertisement on the target website as its domain name is different. This is a sample of the errors including the random Certificate error:
~~~~~~[13424:13457:0506/142520.651685:ERROR:ssl_client_socket_impl.cc(960)] handshake failed; returned -1, SSL error code 1, net_error -101 [13424:13457:0506/142520.699105:ERROR:ssl_client_socket_impl.cc(960)] handshake failed; returned -1, SSL error code 1, net_error -100
[13424:13450:0506/142557.182793:ERROR:cert_verify_proc_builtin.cc(637)] CertVerifyProcBuiltin for eyeota.ck-ie.com failed: ----- Certificate i=0 (CN=ck-ie.com) ----- ERROR: Time is after notAfter[13424:13457:0506/142557.183694:ERROR:ssl_client_socket_impl.cc(960)] handshake failed; returned -1, SSL error code 1, net_error -201 [13424:13457:0506/142603.344811:ERROR:ssl_client_socket_impl.cc(960)] handshake failed; returned -1, SSL error code 1, net_error -101 [13424:13457:0506/142603.444789:ERROR:ssl_client_socket_impl.cc(960)] handshake failed; returned -1, SSL error code 1, net_error -100
~~~~~~ The website eventually loads, but it can take over 60 seconds to do it. I am certain that I could not inherit WebView and get at its internals with Gambas code. But if I am wrong, I like to know. Would it be a complex task to add a "Ignore Certificate Errors" flag to WebSettings?And, BTW, is completion of the gb.qt5.webview documentation somewhere on the Gambas roadmap? (I can't do it on the Wiki because the symbols are loaded by "@symbols".)
-- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
Re: Can WebView ignore SSL Certificate errors? | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Can WebView ignore SSL Certificate errors? | Lee <t.lee.davidson@xxxxxxxxx> |