From: Chris <398094+phuzion@users.noreply.github.com> Date: Fri, 18 Jun 2021 01:34:57 +0000 (-0400) Subject: Add link to certificate FAQ in --require-ssl error X-Git-Tag: 0.14-rc2~13 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=0674fae039bbc79bfe3f7e42b12ec9015b9b879b Add link to certificate FAQ in --require-ssl error 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 --- diff --git a/src/core/sslserver.cpp b/src/core/sslserver.cpp index c93f4861..1c1f05cd 100644 --- a/src/core/sslserver.cpp +++ b/src/core/sslserver.cpp @@ -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"