I tried creating a certificate for my OwnCloud installation, but I’ve run into a strange error as follows:
Error while running apache2ctl configtest. Action 'configtest' failed. The Apache error log may have more information. apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 17 of /etc/apache2/sites-enabled/example.me-le-ssl.conf: Expected </VirtualHost> but saw </VirtualHost></IfModule>
My OwnCloud’s vHost config file is example.me (not really). The error doesn’t appear for any other sites that I have tried, so I am stumped. The vHost file itself is extremely simple, with just a ServerAlias and a pointer to the document root.