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:njom.com
I ran this command:certbot -d njom.com -d *.njom.com --manual --preferred-challenges dns certonly
It produced this output:An unexpected error occurred:
ValueError: max() arg is an empty sequence
My web server is (include version):Apache/2.4.53
The operating system my web server runs on is (include version):Amazon Linux 2
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):certbot 0.39.0
I created the wildcard with certbot -d *.njom.com --manual --preferred-challenges dns certonly 3 month ago using only the *.njom.com trying the same now it complains on number of arguments
It is trying to upgrade and fails with same message in the end of the upgrade or last try it failed at start with the same message
Now it seems that there are two njom.com certificates: One wildcard *.njom.com that I installed on my servers and another njom.com and www.njom.com at the hosting provider for our home server that is outsourced to another company and that I point to in my dns record. It looks in the log as it is verifying against the hosting providers cert.
Any idea on how to solve this? Renewing or install from scratch!
Yes, I have a number of other services in this domain, but on one of them I need to use the wildcard
Regarding your other question: I think that what you are looking on is the home server that is not handled by me but by a hosting provider (for our marketing people) that is a completely different company.
But the Ip is handled in my dns service
Well, that's not good. Someone manually modified the contents of the /archive/ directory. Certbot only generates files with the format xxx1.pem and xxx2.pem and so on. (Where xxx = "cert", "chain", "fullchain" and "privkey".)
By manually modifying the /archive/ directory contents so it does not have a number any longer, Certbot will malfunction with the error presented. Adding a number again and fixing the symbolic links in /live/ will restore it.