Certbot and Local Web Server

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: Local (gamemodders.io locally ran for now)

I ran this command:

It produced this output:

My web server is (include version): Apache (Latest Debian 12 version).

The operating system my web server runs on is (include version): Debian 12

My hosting provider, if applicable, is: Myself

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 but good idea.

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

Is it possible to run Certbot locally via my web server? I'm trying to build a site and want to simulate the SSL part as well for it.

You can run Certbot (or any ACME Client) anywhere but you need to satisfy an ACME Challenge that comes from the Let's Encrypt ACME Server. See: Challenge Types - Let's Encrypt

Usually that means running the Client on the same machine as the HTTPS (or TLS) service.

Let's Encrypt is a public Certificate Authority. If you want a public certificate you need to prove control over that domain name in the public space.

4 Likes

Got it, will keep this in mind when I go live. Testing/Dev can use openssl for now until I'm ready to move to production.

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