When you run AutoSSL it does not activate SSL on the domain and the domain gives SSL certificate error when checked on browser due to self-signed/wrong certificate.
Most likely this error is because the domain in question is excluded from SSL/TLS. To confirm, SSH to your server and run this command:
uapi --user=<cpanel_user_name> SSL get_autossl_excluded_domains| egrep '^\s+excluded'
If the output is similar to this:
excluded_domain: domain.com
excluded_domain: www.domain.com
You need to include domains during AutoSSL, you can follow these steps:
- Log in to cPanel for the domain/user in question.
- Navigate to SSL/TLS Status.
- Search for the domain in question.
- To the right of the domain, there will be a blue button labeled 'Include During AutoSSL' go ahead and click that.