diff options
author | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2021-10-12 19:14:10 +0300 |
---|---|---|
committer | Matthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr> | 2021-10-13 18:20:52 +0300 |
commit | 46bc0452c75a8a9af9db2643892c9e8b221d8bde (patch) | |
tree | 68b106d09972f2b3e54ba58c6bcdb7396e937c38 /src | |
parent | 4296eb3571156d9f3d144ad51d3fb89659c61f8a (diff) |
provide logs of SSL errors including the certificate chain
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libsync/account.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<QSslError> 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())) { |