User Tools

Site Tools


info:apache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
info:apache [2019/03/25 14:40] hartmutinfo:apache [2024/03/06 02:16] (current) – [Macros/Virtual Hosts] moritz
Line 23: Line 23:
 (Change to this directory before executing the commands mentioned below!) (Change to this directory before executing the commands mentioned below!)
 This is a list of virtual hosts. This is a list of virtual hosts.
 +
 +Enable the site using a2ensite, or create the symlink manually.
  
 The heavier lifting is in vhosts.ih, where the conf files for the vhosts are built. The heavier lifting is in vhosts.ih, where the conf files for the vhosts are built.
Line 32: Line 34:
 After that, wait some time, then, request TLS certificates: After that, wait some time, then, request TLS certificates:
 <code>certbot certonly -c letsencrypt.ini --apache</code> <code>certbot certonly -c letsencrypt.ini --apache</code>
 +
 +Test certbot:
 +<code>certbot certonly -c letsencrypt.ini --apache --test-cert --dry-run</code>
 +
 +If apache cannot serve the letsencrypt challenge, use <code>--standalone</code> and stop/start apache manually.
 +
 +
  
  
  
  
info/apache.txt · Last modified: 2024/03/06 02:16 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki