weirdness under debian12! and more questions!

Discussion in 'ISPConfig 3 Priority Support' started by craig baker, Jun 11, 2025.

  1. craig baker

    craig baker Member HowtoForge Supporter

    I was trying to see why certbot was failing under deb12 (I migrated from centos so it kept certbot) - and I would up deleting the renewal and archive files for 4 sites. then no more certbot errors. but I could not generate an SSL for one of the site which was on a different server. I thought 'maybe skip the LE checks under server config-web-ssl settings, and next thing blam apache2 wont start!
    it gave me errors:
    AH00526: Syntax error on line 9 of /etc/apache2/sites-enabled/000-apps.vhost:
    and when I look in the 000-app-vhost file I see:
    <VirtualHost 8081 ssl; ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt; ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserverkey:8081>

    when I looked in 000-apps.vhost on another server I just had
    <virtualHost _default:8081>

    and I put this line in and apache2 came right back up.
    whats the syntax error? and why did ispconfig generate it when I changed the skip LE checks setting?
    ns11 ispconfig:8080 does give a valid SSL cert btw now with the simple _default line. do I need the extra stuff that caused the error?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The file was not generated like this by ISPConfig. Someone must have accidentally removed some part of the file. Also ISPConfig does not generate it when you skip le check, ISPConfig probably reloaded the web server and that's the point when you noticed that something is wrong with that file, which might have happened quite a while before that time point.
     

Share This Page