if you have a valid A record set for your hostname try also check that you have rDNS set with your server provider and then change hostname from cwp.
By changing hostname from cwp if you have an A record for it you will get letsencrypt (autoSSL) certificate installed automatically.
It would be also recommended to rebuild mail server after that, you can do that also from cwp.