Writing over 510 characters of domains

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: A lot of domains

I ran this command: certbot certonly --standalone

It produced this output: Works fine but my website requires a lot of domains, and I ran out of space

My web server is (include version): Node.js v18.12.1

The operating system my web server runs on is (include version): Windows 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): Certbot 2.1.1
image_2023-03-12_170238840

And this is an issue, why? A DNS label isn't allowed to be longer than 63 characters anyway.

Or do you mean not literally so much chars in a single label, but multiple hostnames in the comma and/or space separated string? In that case I recommend using the -d option as specified in the Certbot documentation.

By the way, might be a Windows only thing. On my Linux system I can get way further than those 510 chars.

9 Likes

Looks like a limitation in Windows CPython.

As mentioned, you should be able to do this in the terminal like this instead:

certbot certonly --standalone -d a.example.com -d b.example.com -d c.example.com ...
8 Likes

Yes, thank you. Typing each domain with -d works!

5 Likes

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