List ecs-isp@2rosenthals.com Arkiverade meddelande #910

Från: "Massimo S." <ecs-isp@2rosenthals.com> Meddelandehuvud
Oavkodat meddelande
Ämne: SSL certs & apache 2.4.61
Datum: Fri, 4 Oct 2024 09:29:20 +0200
Till: eCS ISP Mailing List <ecs-isp@2rosenthals.com>

Hi all,

if a reissue (for a reason or another) fail you find in this situation:

apache do not restart anymore with this error:

AH00526: Syntax error on line 894 of X:\\apache/conf/httpd.conf:
SSLCertificateFile: file 'X:/MPTN/ETC/ssl/uacme/www.mywebsite.it/cert.pem' does not exist or is empty

like me if you have more than one virtual host and the others have their certificate
it's a pain in the.. to have apache to not restart anymore for a problem (no cert.pem file) of only one or two virtual hosts.

Is there any way to avoid this situation?

Of course i could write a complex rexx script that check for the presence of the
file cert.pem and if it do not find it copy cert_old.pem in cert.pem, but it's
not sufficient since apache still exit due to the different key.pem.
I could write an even more complex rexx script that also copy back the key_old.pem,
but this is surely not easy.

So, is there a way to tell apache to go on and serve only the working virtual hosts?

thanks

massimo


Prenumerera: Sändning, Uppsamling, Index.
Stoppa prenumeration
Meddelande till ListMaster