From: Felix Geyer Date: Tue, 27 Sep 2011 14:02:22 +0000 (+0200) Subject: Allow the core to use expired certificates. X-Git-Tag: 0.9-beta1~58 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=61c8d84d1c849373e0f115dc748ed45cff95287d;hp=a5455d1ea8785e864ce4b513e63283ed156d4872;ds=inline Allow the core to use expired certificates. The core should only display a warning but not ignore the certificate if it's expired. This is especially useful for self-signed certificates. --- diff --git a/src/core/sslserver.cpp b/src/core/sslserver.cpp index 4080f814..987db4ba 100644 --- a/src/core/sslserver.cpp +++ b/src/core/sslserver.cpp @@ -114,8 +114,7 @@ bool SslServer::setCertificate(const QString &path) { return false; } if(!_cert.isValid()) { - quWarning() << "SslServer: Invalid certificate"; - return false; + quWarning() << "SslServer: Invalid certificate (most likely expired)"; } if(_key.isNull()) { quWarning() << "SslServer:" << qPrintable(path) << "contains no key data";