Reloading apache keeps resetting 00-default.conf for letsencrypt
-
I replaced the default certificate lines with
SSLCertificateFile C:/laragon/etc/ssl/fullchain.pem
SSLCertificateKeyFile C:/laragon/etc/ssl/privkey.pemIf I stop and start the server its fine but if I restart the apache it reverts back to
SSLCertificateFile C:/laragon/etc/ssl/laragon.crt
SSLCertificateKeyFile C:/laragon/etc/ssl/laragon.keyIs it possible to keep it permanent with my letsencrypt cert?
-
@saudiqbal : Please don't change the 00-default.conf, update your Virtual Host file in instead (and remember to remove the
auto.
prefix so Laragon will respect your changes).
-
Where do I find the file with auto. prefix? I removed it from "C:\laragon\etc\ssl\auto.openssl.conf" and it still keeps coming back.
-
@saudiqbal : Just open Menu > Apache > sites-enabled
-
Not helping it keeps coming back auto.openssl.conf and 00-default.conf
I removed auto. from openssl.conf
-
@saudiqbal : Remove
auto.
from your Virtual Host file which located in Menu > Apache > sites-enabled please.Please don't change the 00-default.conf, update your Virtual Host file in instead (and remember to remove the auto. prefix so Laragon will respect your changes).
Also, because you use Let's Encrypt, just ignore the file
C:\laragon\etc\ssl\auto.openssl.conf
-
I select Delete all and reload apache and everything comes back.