From fce5f4cc0f7518536040c0d66c7efb438c985e33 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 9 Jan 2024 20:51:50 +0000 Subject: Update the default SSL filenames to use the Certbot names. --- modules/extra/m_ssl_gnutls.cpp | 4 ++-- modules/extra/m_ssl_openssl.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/extra') 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("cert", "data/anope.crt"); - const Anope::string keyfile = config->Get("key", "data/anope.key"); + const Anope::string certfile = config->Get("cert", "data/fullchain.pem"); + const Anope::string keyfile = config->Get("key", "data/privkey.pem"); const Anope::string dhfile = config->Get("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("cert", "data/anope.crt"); - this->keyfile = config->Get("key", "data/anope.key"); + this->certfile = config->Get("cert", "data/fullchain.pem"); + this->keyfile = config->Get("key", "data/privkey.pem"); if (Anope::IsFile(this->certfile.c_str())) { -- cgit