1

I'm trying to install Lets-encrypt SSL certificate by using certbot.

When typing certbot , I get a list of some domains from my apache config, how ever it seems if I have multiple VirtualHosts in a single conf file. then domains are not listed. Is there a fix for this?

I'm using Debian 9 Apache2

  • 1
    The obvious solution would be to not have multiple VirtualHosts in a single conf file. – Jenny D says Reinstate Monica Mar 27 '18 at 8:03
  • Debian makes it very easy to not have multiple vhosts in a file. Just use the tools the OS offers you. – Sven Mar 27 '18 at 8:06
  • Any reason why downvote to this question? – Zhenyu Mar 27 '18 at 8:31
  • 3
    The config he's describing is completely reasonable. For example one might put http and https vhosts for the same domain in the same file. It'd be nice if certbot would use his config, instead of forcing him to adapt his config to certbot. – Andrew Schulman Apr 6 '18 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.