Add link to certificate FAQ in --require-ssl error
authorChris <398094+phuzion@users.noreply.github.com>
Fri, 18 Jun 2021 01:34:57 +0000 (21:34 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 18 Jun 2021 13:45:50 +0000 (15:45 +0200)
Include a link to the FAQ page explaining how to set up SSL support on the quassel-irc.org website.

Co-authored-by: Shane Synan <digitalcircuit36939@gmail.com>
src/core/sslserver.cpp

index c93f486..1c1f05c 100644 (file)
@@ -53,7 +53,8 @@ SslServer::SslServer(QObject* parent)
         // do not proceed, throw an exception and quit. This prevents the core from falling
         // back to a plaintext-only core when they should be expecting SSL/TLS only.
         if (Quassel::isOptionSet("require-ssl")) {
-            throw ExitException{EXIT_FAILURE, tr("--require-ssl is set, but no SSL certificate is available. Exiting.")};
+            throw ExitException{EXIT_FAILURE, tr("--require-ssl is set, but no SSL certificate is available. Exiting.\n"
+                                                 "Please see https://quassel-irc.org/faq/cert to learn how to enable SSL support.")};
         }
         if (!sslWarningShown) {
             qWarning() << "SslServer: Unable to set certificate file\n"