I ran this command: sudo certbot --apache-d sanmau.net -d www.sanmau.net
(I tried this too many times over and over again, and even rebuilt the Ubuntu for serval times, forgive I’m totally newbe and I hate myself now what if I had never tried to install SSL -_-!!!)
It produced this output: many errors in red type. too many certificates on the domain of www.sanmau.net and told me to view the log file… I’m totally a disaster maker…
My web server is (include version):
The operating system my web server runs on is (include version): Ubuntu 18.04 LTS Server - 64 Bit
My hosting provider, if applicable, is: Cloudcone
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, i use ssh via putty
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.28.0
Thank you a lot! I feel a bit better now. I shoud read more instruction and manual book before I tried a command any more. Thank you, sir. I might post more details after I tried to make it right, whether success or not.
Maybe the “space” between apache & -d is the key problem in deed, thanks for you tested my www-domain and your tips. I will try again at 9 Mar follow your instruction. Thanks for your kindness!
If the space was the problem, there would be no need to wait (since a certificate with both versions of the domain correctly added would not be considered a duplicate).
At most you would need to wait 1 hour, as already mentioned.
you have created 4 certificates only with www. But the combination of both domain names -> is new, so you have created one certificate with both domain names:
And you have installed a new Letsencrypt certificate:
CN=sanmau.net
05.03.2019
03.06.2019
expires in 90 days sanmau.net, www.sanmau.net - 2 entries
In case it hasn’t been mentioned, or if you are not aware, there is an entire staging environment that is designed and operates specifically for “testing”.