go from *.domain.com wildcard SLL to single hostname

Status
Not open for further replies.

s2svoip

Member
Dec 9, 2019
267
8
18
45
Hope this is a simple one, I have an expired *.domain.com wildcard SSL installed, I dont need the wildcard anymore, I ran the normal ./letsencrypt.sh script to install a normal one, everything went fine, but its still using the expired *. cert when I browse to the https interface, anyone give me a pointer to uninstall the old cert ? cheers!
 
Update on this if anyone else needs it.

As long as ./letsencrypt.sh ran without issues,

1. check your fusionpbx nginx config here /etc/nginx/sites-enabled/ looking at the file fusionpbx
2. under listen 443; you will see ssl_certificate & ssl_certificate_key - for me these were still pointing to the expired wildcard cert folder in /etc/dehydrated/certs/
3. go into /etc/dehydrated/certs/ and make sure there is the folder for the hostname.domain.com you want nginx to use
4. edit the file in step 1 to point to this folder
5. reload nginx with nginx -s reload
6. test in browser
 
Status
Not open for further replies.