mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 00:22:28 +02:00
Fix logic in which the --fullchain error would never be hit
This commit is contained in:
@@ -213,7 +213,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||||||
logger.debug("Apache version is %s",
|
logger.debug("Apache version is %s",
|
||||||
".".join(str(i) for i in self.version))
|
".".join(str(i) for i in self.version))
|
||||||
|
|
||||||
if self.version < (2, 4, 8) or (chain_path and not fullchain_path):
|
if self.version < (2, 4, 8):
|
||||||
# install SSLCertificateFile, SSLCertificateKeyFile,
|
# install SSLCertificateFile, SSLCertificateKeyFile,
|
||||||
# and SSLCertificateChainFile directives
|
# and SSLCertificateChainFile directives
|
||||||
set_cert_path = cert_path
|
set_cert_path = cert_path
|
||||||
|
|||||||
Reference in New Issue
Block a user