Autossl not working in addon domains
Hello, this is te problem:
I add an addon domain and the SSL certificate is isssued to the linked subdomain and not to the addon domain itself.
Example:
I have the primary domain, "primary.com"
I add the "addon.com"
Result in browser:
addon.com -> INVALID SSL
addon.primary.com -> VALID SSL
cpanel.addon.com -> VALID SSL
webmail..addon.com -> VALID SSL
cPanel updated v90 and this is the first time this happens.
Any help is appreciated
-
If you have WHM access then posting the logs from WHM Home "SSL/TLS "Manage AutoSSL "Logs "Select a log to view:Click View Log button
will help to analyze your problem and suggest you what step should be taken next to solve this issue.0 -
Hello @kodeslogic, thanks very much for your answer, I can see in the log that autossl is checking the linked subdomain instead the addon domain: 4:27:36 PM Analyzing "addon.primary.com" " 4:27:36 PM ERROR TLS Status: Defective ERROR Defect: NO_SSL: No SSL certificate is installed. 4:27:36 PM Analyzing "primary.com" " 4:27:36 PM SUCCESS TLS Status: OK Certificate expiry: 11/11/20, 12:00 AM UTC (69.15 days from now) ........... ........... ........... ........... 4:29:03 PM Polling for "username""s new certificate for "addon.primary.com" (order item ID "XXXXXXX") " The certificate is available. The system will now attempt to install it. 4:29:04 PM SUCCESS The certificate is now installed! And the certificate is assigned to "addon.primary.com" and not to "addon.com" cPanel v90, nginx, csf and bitninja. Some years working and this is the first time this happens. I have root access if you have some commands for checking. I think this is happening after cPanel v90 update. Note: I receive the email with subject "[server.name] : addon.primary.com AutoSSL certificate installed! Thanks! 0 -
@gfserver In the same logs do you see any [COLOR=rgb(251, 160, 38)]WARN or [COLOR=rgb(209, 72, 65)]ERROR entries for addon.com? The second thing to make sure .htaccess file of addon.com should not contain any redirection code. 0 -
Hello @kodeslogic, thanks for your answer. Theres no WARN or ERROR in the log for addon.com and there's not a .htaccess file in /public_html/addon.com folder. There is the .well-known folder alone. 0 -
Are you using cPanel's Nginx or a separate version? 0
Please sign in to leave a comment.
Comments
5 comments