Fix: handshake failed by ERR_CERT_AUTHORITY_INVALID

This commit is contained in:
Danilo Nascimento
2023-06-22 17:55:11 -03:00
parent 7bef2ccc68
commit 0c848a249d
4 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#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() << "; " << certificateError.errorDescription();
return certificateError.deferred();
};