Lista de correo ecs-isp@2rosenthals.com Mensaje #910
De: "Massimo S." <ecs-isp@2rosenthals.com> Encabezados Completos
Mensaje no decodificado
Asunto: SSL certs & apache 2.4.61
Fecha: Fri, 4 Oct 2024 09:29:20 +0200
Para: 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

Subscribirse en modo directo (FEED) Subscribirse en modo resumen (DIGEST) Subscribirse en modo índice (INDEX) Desubscribirse E-mail al Listmaster