Xampp apache shuts down when I edit the ssl-conf files with let's encrypt (win-acme crt.pem and key.pem or key.pem and chai.pem

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:thevwhcompany.com

I ran this command:

It produced this output:

My web server is (include version): xampp apache

The operating system my web server runs on is (include version): windows 11

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

This may be a better question for the xampp forum.

I will say it is unusual to see two IP addresses in the public DNS for a domain running on Win11

That may need fixing although likely isn't cause of "xampp shuts down"

thevwhcompany.com. 0 IN A 97.166.179.136
thevwhcompany.com. 0 IN A 72.109.128.185

If you haven't seen this yet, the win-acme example for Apache is: win-acme

4 Likes

Yes, that is, but it is what verizon business router does: it uses DHCP (dynamic Ipv4 and Ipv6. It is not recommended to enter more than 1 A Record (one for each IPv4), I now realize that it works, but it is takes longer to serve the page. The issue I am facing is that the default ssl server.crt and .key "commented" (no # and active) enteries in the ssl conf apache file do not seem to be replaceable after the win-acme issued the 4 certificate. I tried replacing them with the paths to the .crt and .key certificates, but xampp apache shutsdown immediately. I tried adding them without commenting out the default server entries, but it still shuts down. the error logs show AH01909: server certificate does NOT include an ID which matches the server name but I am not seeing any issue unless I missing something here.

I don't know what you mean by that. In "regular" Apache you fully control its config.

That says there is a mismatch between the names used for ServerName and ServerAlias and the one(s) in your certificate. I see your most recent cert only has your apex name in it. Earlier certs you got had that and your www subdomain.

I see you only have one IP address now. Because you mentioned "business" I will point out that XAMPP systems are not intended for production systems. From their own site

XAMPP is not meant for production use but only for development environments. XAMPP is configured to be open as possible to allow the developer anything he/she wants. For development environments, this is great but in a production environment, it could be fatal.

See: XAMPP FAQs for Windows

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.