Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Nächste Überarbeitung | Vorherige Überarbeitung | ||
fortgeschrittene:mod_md [2024/12/14 14:39] ingo_wichmann angelegt |
fortgeschrittene:mod_md [2025/08/13 16:12] (aktuell) ingo_wichmann |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | Pakete: | ||
+ | * Debian (12): ''apache2'' | ||
+ | |||
<file txt /etc/apache2/conf-available/acme.conf> | <file txt /etc/apache2/conf-available/acme.conf> | ||
ServerAdmin admin@example.lxht.de | ServerAdmin admin@example.lxht.de | ||
Zeile 4: | Zeile 7: | ||
MDomain example.lxht.de | MDomain example.lxht.de | ||
</file> | </file> | ||
+ | |||
+ | <file txt /etc/apache2/sites-available/example.lxht.de.conf> | ||
+ | <VirtualHost *:443> | ||
+ | ServerName example.lxht.de | ||
+ | SSLEngine on | ||
+ | <Directory /srv/example.lxht.de/html/> | ||
+ | Require all granted | ||
+ | </Directory> | ||
+ | </VirtualHost> | ||
+ | </file> | ||
+ | |||
+ | mkdir -p /srv/example.lxht.de/html/ | ||
+ | a2enmod ssl | ||
+ | a2enmod md | ||
+ | a2enconf acme | ||
+ | a2ensite example.lxht.de | ||
+ | |||
+ | systemctl restart apache2.service | ||
+ | until [ -f /etc/apache2/md/staging/example.lxht.de/pubcert.pem ]; do sleep 1; echo -n .; done | ||
+ | systemctl restart apache2.service | ||