onCertificateError
abstract fun onCertificateError(browser: CefBrowser, cert_error: CefLoadHandler.ErrorCode, request_url: String, sslInfo: CefSSLInfo, callback: CefCallback): Boolean
Called on the UI thread to handle requests for URLs with an invalid SSL certificate. If "ignore-certificate-errors" command-line switch is set all invalid certificates will be accepted without calling this method.
Return
True to handle the request later(callback must be executed) or false to reject it immediately.
Parameters
browser
The corresponding browser.
cert_error
Error code describing the error.
request_url
The requesting URL.
sslInfo
The certificate with the status
callback
Call CefCallback.Continue() either in this method or at a later time to continue or cancel the request. If null the error cannot be recovered from and the request will be canceled automatically.