Getting error on sudo certbot --apache

getting error on above command

  1. ssl_module is statically linked but --apache-bin is missing; not disabling session tickets.

  2. Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.

while port 80 is working fine

Thanks

1 Like

(1) is not a fatal problem. The Certbot Apache plugin is designed to work with the Apache httpd package that comes from your distro and may not fully work with custom builds.

For (2), Certbot's Apache plugin assumes you are using Virtual Hosts. If you are not doing that, then --apache won't work and you might need to use certonly --webroot instead.

4 Likes