How to get a certificate for locally hosted xampp site"

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. crt.sh | 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:lewmur.com

I ran this command: NA

It produced this output: NA

My web server is (include version): XAMPP Control Panel version 3.3.0

The operating system my web server runs on is (include version) Windos 11 Pro 24H2

My hosting provider, if applicable, is:

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

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

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

Hello @lewmur, welcome to the Let's Encrypt community. :slightly_smiling_face:

Please have a look here How can I use Let's Encrypt to make internal certs? - #2 by Bruce5051 and look for the bullets with internal, intranet, and LOCAL.

2 Likes

Doesn't the control panel have an option for getting a cert?

1 Like

Hi @lewmur,

Maybe I misunderstood your request, are you looking to for a publicly facing "xampp" site from your locally hosted machine?

I can see Server: Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.2.4

$ curl -Ii http://lewmur.com
HTTP/1.1 200 OK
Date: Tue, 04 Feb 2025 18:41:49 GMT
Server: Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.2.4
Last-Modified: Sat, 11 May 2024 14:12:06 GMT
ETag: "569-6182e3cbd32b0"
Accept-Ranges: bytes
Content-Length: 1385
Content-Type: text/html

If my second assumption is correct please see

  1. Getting Started - Let's Encrypt
  2. ACME Client Implementations - Let's Encrypt since you will need an ACME Client to be issued certificates from Let’s Encrypt.

Edit

Also only Port 80 is accessible, which is enough to be issued a certificate using the HTTP-01 challenge. However typically for a webserver that is offering publicly facing service Port 443 (i.e. HTTPS) is also needed. I don't know "xampp" maybe it uses a different port.

1 Like