Certificate for IP addresses or hostname

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:
No domain is being used yet because we are using certificate in our Dev. server to test some features.

I ran this command:

$ sudo certbot -v --nginx -d IP Address
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Requesting a certificate for IP Address
An unexpected error occurred:
Error creating new order :: Cannot issue for "IP Address": Domain name needs at least one dot
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

It produced this output:

An unexpected error occurred:
Error creating new order :: Cannot issue for "IP Address": Domain name needs at least one dot
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My web server is (include version):

Nginx

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

Ubuntu 20.0.4

My hosting provider, if applicable, is:

Digital Ocean

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):

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

1.29.0

Hi,

Could you please let me know whether IP address or a hostname is supported for generating Certificate. We badly needed this to test additional features of the site.

Best regards,
~Ram

Let’s Encrypt only supports issuing certificates to public domain names.

4 Likes