Control Web Panel

WebPanel => SSL => Topic started by: ccheuser on May 14, 2020, 01:54:38 PM

Title: ssl not matching
Post by: ccheuser on May 14, 2020, 01:54:38 PM
I have ssl for vps.example.net which works great. When I create autossl for example.net I get mismatch error. How can I fix that?

Thanks
Title: Re: ssl not matching
Post by: rcschaff on May 14, 2020, 02:24:13 PM
Where do you get the mismatch error?  Preferably screenshot
Title: Re: ssl not matching
Post by: ccheuser on May 14, 2020, 03:05:21 PM
When I do a ssl check I get this.


   
None of the common names in the certificate match the name that was entered (hostsamerica.net). You may receive an error when accessing this site in a web browser. It looks like you just need to add the "www." when accessing the site with SSL. Learn more about name mismatch errors.
Title: Re: ssl not matching
Post by: rcschaff on May 14, 2020, 03:22:10 PM
You may want to run autossl on that domain again.  Seems like it did www.domain and not just domain when it requested.  You should also check the log to see if there was an issue with letsencrypt
Title: Re: ssl not matching
Post by: ccheuser on May 14, 2020, 03:50:07 PM
You may want to run autossl on that domain again.  Seems like it did www.domain and not just domain when it requested.  You should also check the log to see if there was an issue with letsencrypt

So I should delete it and re-install?

Thanks
Title: Re: ssl not matching
Post by: ccheuser on May 16, 2020, 05:47:15 PM
Deleted it numerous times and still mismatch anyone have other ideas?
Title: Re: ssl not matching
Post by: rcschaff on May 16, 2020, 10:37:53 PM
do it manually

via ssh as root:

/root/.acme.sh/acme.sh --issue --force --config-home /root/.acme.sh/cwp_certs -d domain.com -d www.domain.com -d cpanel.domain.com -d mail.domain.com -d webmail.domain.com -d ftp.domain.com [ --nginx or --apache  depending on your setup]
Title: Re: ssl not matching
Post by: ccheuser on May 17, 2020, 03:12:12 PM
do it manually

via ssh as root:

/root/.acme.sh/acme.sh --issue --force --config-home /root/.acme.sh/cwp_certs -d domain.com -d www.domain.com -d cpanel.domain.com -d mail.domain.com -d webmail.domain.com -d ftp.domain.com [ --nginx or --apache  depending on your setup]

Thanks for helping me. When I run that command I get 'Can not find conf file for domain'
Title: Re: ssl not matching
Post by: rcschaff on May 17, 2020, 07:32:38 PM
Take the -- force out