I have an existing site with single domain SSL. I want to make it wildcard SSL.
I have followed the guide and run this command:
root@xxxx:~# wo site update xxxx.com --letsencrypt=wildcard --dns=dns_cf
Certificate type : wildcard
You already have an existing certificate for the domain requested.
(ref: /etc/letsencrypt/renewal/xxxxx.com_ecc/xxxxx.com.conf)
Please select an option from below?
1: Reinstall existing certificate
2: Issue a new certificate to replace the current one (limit ~5 per 7 days)
Type the appropriate number [1-2] or any other key to cancel: 2
Issuing new SSL cert with acme.sh
Deploying SSL cert [OK]
Testing Nginx configuration [OK]
Reloading Nginx [OK]
Congratulations! Successfully Configured SSL on https://xxxx.com
Your cert will expire within 89 days.
The wildcard certificate appears issued right? However, I then add a subdomain, and I understand that according to the video on this page, that it should automatically pick up the wildcard cert. On my server, it does not:
root@xxxxx:~# wo site create media.xxxx.com --le
Running pre-update checks [OK]
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Testing Nginx configuration [OK]
Reloading Nginx [OK]
Successfully created site http://media.xxxx.com
Certificate type : subdomain
Validation mode : Webroot challenge
Issuing SSL cert with acme.sh [OK]
Deploying SSL cert [OK]
Adding HTTPS redirection [OK]
Testing Nginx configuration [OK]
Reloading Nginx [OK]
Congratulations! Successfully Configured SSL on https://media.xxxxx.com
Any ideas? If I purge the all the certificates (turn off for media. and main domain) and then try to issue wildcard on the main domain (with SSL now disabled/purged) with the following command, it just hangs...
root@xxxxx:~# wo site update xxxxx.com --letsencrypt=wildcard --dns=dns_cf
Certificate type : wildcard
Validation mode : DNS mode with dns_cf
^Zsuing SSL cert with acme.sh [..]
[2]+ Stopped wo site update xxxxx.com --letsencrypt=wildcard --dns=dns_cf