Certbot Apache plugin overwrites existing SSL VirtualHosts when multiple vhosts are defined in one file

Thank you for confirming and reproducing the issue. I appreciate the detailed investigation.

I just wanted to clarify two points:

  1. I intend to continue using Certbot with the DigiCert ACME endpoint (using EAB) for certificate issuance and installation. I do not want to switch to alternatives like mod_md at this time.

  2. I noticed that a very similar issue was reported on the Let’s Encrypt community forum over five years ago:
    Certbot on Apache - Unable to Parse Multiple VHOSTS in one File - #7 by TDRogers

Since that thread was from around 2017 and the behavior is still present in Certbot 5.x, I wanted to ask:

  • Is this a known limitation that is unlikely to be resolved soon?
  • Is there any plan to address this limitation in a future Certbot release?
  • If it will take significant time to fix, is there an expected timeline or milestone?

Thank you again for your help and clarification.