How to get a certificate for a machine/service with no web 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. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: I didn't, because I dont have a web server, so the Certbots will not work

It produced this output: N/A

My web server is (include version): A/A

The operating system my web server runs on is (include version): N/A (Debian 10)

My hosting provider, if applicable, is: N/A

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): Have not got a client installed, as they all require a webserver to work, and I'm not running one


I want to generate a cert for my DNS server to enable DNS-over-TLS, but I can't work out how to do this, because I'm not running a web server, and it looks like all the 'methods' for obtaining a certificate need one to be running.

You don't need a working webserver. Two reasons:

  • You could also use the dns-01 plugin
  • certbot can spin up a temporary webserver using a Python module for you using the standalone authenticator plugin.
1 Like

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