summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-09 20:51:50 +0000
committerSadie Powell <sadie@witchery.services>2024-01-09 21:25:44 +0000
commitfce5f4cc0f7518536040c0d66c7efb438c985e33 (patch)
treeaea3f87ec12a2433036fcd048a2736ee5c6ed85d /modules
parentfa7ad6b3dffaa769b62ea00e7c52e29fca67c7bf (diff)
Update the default SSL filenames to use the Certbot names.
Diffstat (limited to 'modules')
-rw-r--r--modules/extra/m_ssl_gnutls.cpp4
-rw-r--r--modules/extra/m_ssl_openssl.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/extra/m_ssl_gnutls.cpp b/modules/extra/m_ssl_gnutls.cpp
index c7595c9ed..e9b690940 100644
--- a/modules/extra/m_ssl_gnutls.cpp
+++ b/modules/extra/m_ssl_gnutls.cpp
@@ -334,8 +334,8 @@ public:
{
Configuration::Block *config = conf->GetModule(this);
- const Anope::string certfile = config->Get<const Anope::string>("cert", "data/anope.crt");
- const Anope::string keyfile = config->Get<const Anope::string>("key", "data/anope.key");
+ const Anope::string certfile = config->Get<const Anope::string>("cert", "data/fullchain.pem");
+ const Anope::string keyfile = config->Get<const Anope::string>("key", "data/privkey.pem");
const Anope::string dhfile = config->Get<const Anope::string>("dh", "data/dhparams.pem");
CheckFile(certfile);
diff --git a/modules/extra/m_ssl_openssl.cpp b/modules/extra/m_ssl_openssl.cpp
index dca68f9f9..52959afee 100644
--- a/modules/extra/m_ssl_openssl.cpp
+++ b/modules/extra/m_ssl_openssl.cpp
@@ -142,8 +142,8 @@ public:
{
Configuration::Block *config = conf->GetModule(this);
- this->certfile = config->Get<const Anope::string>("cert", "data/anope.crt");
- this->keyfile = config->Get<const Anope::string>("key", "data/anope.key");
+ this->certfile = config->Get<const Anope::string>("cert", "data/fullchain.pem");
+ this->keyfile = config->Get<const Anope::string>("key", "data/privkey.pem");
if (Anope::IsFile(this->certfile.c_str()))
{