I’d like to use Let’s Encrypt and therefore certbot on my Debian Jessie, Apache 2.4-Setup.
But when i run
certbot --apache it show’s me this error message:
No names were found in your configuration files. You should specify ServerNames in your config files in order to allow for accurate installation of your certificate. If you do use the default vhost, you may specify the name manually. Would you like to continue?
My config files are in /etc/apache2/sites-available with a .conf extension and symlinked to /etc/apache2/sites-enabled. All my config files look like this: http://pastebin.com/tENAizw2 (pastebin due to forum software is not formatting the config correctly).
SSLEngine on SSLCertificateFile /etc/apache2/ssl/domain.de/2__.dominicpratt.de.crt SSLCertificateKeyFile /etc/apache2/ssl/domain.de/wildcard.key SSLCertificateChainFile /etc/apache2/ssl/domain.de/1_root_bundle.crt
and the /etc/apache2/snippets/cache.conf is just a cache configuration with “ExpiresByType”-commands in it.
Any help on this would be appreciated!