Fix: handshake failed by ERR_CERT_AUTHORITY_INVALID (#240)

This commit is contained in:
Danilo Nascimento
2023-06-27 09:30:25 -03:00
committed by GitHub
parent 7bef2ccc68
commit 705b03c0bb
4 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#include "enhancedwebpage.h"
#include <QWebEngineCertificateError>
#include <plog/Log.h>
bool EnhancedWebPage::certificateError(const QWebEngineCertificateError &certificateError) {
LOGI << "An error occurred during certificate verification for " << certificateError.url().toString() << "; " << certificateError.errorDescription();
return certificateError.isOverridable();
};