My problem is easy and simple.
I want to obtain a certificate that cover the whole site. That all URLs are over HTTPS. But it’s my first time to play with LetsEncrypt. And I can’t understand English documents accurately. So I made a mistake.
I have browsed through other help posts. I saw someone deleting the ‘auto-renew’ config directly, then it made the problem tricky. So I write a new post to ask for help. See How to remove old, bad configuration?
Second time, I obtain for ‘*.domain.com’. The whole sub domains are over HTTPS. But Only ‘domain.com’ was broken down. Of course, I have implemented how to obtain for a wildcard certificate. So I don’t have more trouble with this step.
sudo certbot certonly -d "*.domain.com" --manual --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory
I have two trouble:
(1) Now, I know I should add one more parameter like:
-d example.com -d *.example.com. Is it right?
(2)And now, how can I remove the two wrong certificate?
And if there are any more wrong, could you please tell me?