You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the lens will complain that there's a syntax error on that last line (because there's a missing </IfModule>).
The end result to a consumer of certbot is something like:
certbot._internal.plugins.disco:Othererror:(PluginEntryPoint#apache): There has been an error in parsing the file /etc/apache2/sites-enabled/something.example.com-le-ssl.conf on line 25: Syntax errorTraceback (mostrecentcalllast):
File"/usr/lib/python3/dist-packages/certbot/_internal/plugins/disco.py", line111, inprepareself._initialized.prepare()
File"/usr/lib/python3/dist-packages/certbot_apache/_internal/configurator.py", line389, inprepareself.parser.check_parsing_errors("httpd.aug")
File"/usr/lib/python3/dist-packages/certbot_apache/_internal/parser.py", line122, incheck_parsing_errorsraiseerrors.PluginError(msg)
The text was updated successfully, but these errors were encountered:
So what you have there is a Include vhosts/*.conf stanza, and then in those files you have a bunch of VirtualHosts, some of which have bunch of Vhost defintions, and taken together, to Apache httpd this looks somewhat like this
apache2 (e.g.
apachectl -S
orapachectl reload
) doesn't mind if you have something like:But the lens will complain that there's a syntax error on that last line (because there's a missing
</IfModule>
).The end result to a consumer of
certbot
is something like:The text was updated successfully, but these errors were encountered: