From: Matthieu Gallien Date: Tue, 12 Oct 2021 16:14:10 +0000 (+0200) Subject: provide logs of SSL errors including the certificate chain X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~18^2~172^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=46bc0452c75a8a9af9db2643892c9e8b221d8bde;p=nextcloud-desktop.git provide logs of SSL errors including the certificate chain Signed-off-by: Matthieu Gallien --- diff --git a/src/libsync/account.cpp b/src/libsync/account.cpp index 22d8142c1..a58c61a40 100644 --- a/src/libsync/account.cpp +++ b/src/libsync/account.cpp @@ -456,6 +456,9 @@ void Account::slotHandleSslErrors(QNetworkReply *reply, QList errors) << "\n"; } + qCInfo(lcAccount()) << "ssl errors" << out; + qCInfo(lcAccount()) << reply->sslConfiguration().peerCertificateChain(); + bool allPreviouslyRejected = true; foreach (const QSslError &error, errors) { if (!_rejectedCertificates.contains(error.certificate())) {