Autossl is not installed for system subdomains
Hi!
We have a main domain domain.com with third-party SSL covering it with www.domain.com The domain is connected with the remote server with A record, system subdomains are on the server with cPanel.
When running AutoSSL, Let's encrypt is not installed for subdomains like cpanel. webmail. and so on. In SSL/TLS Status we see this message: The installed certificate does not cover this domain. The certificate will renew via AutoSSL.
We created a test.domain.com with the document root and AutoSSL worked for it perfectly. When we point this test. subdomain to public_html, Autossl doesn't work for it.
Option Allow AutoSSL to replace invalid or expiring non-AutoSSL certificates. is enabled in WHM.
Here is the autossl log:
AutoSSL’s configured provider is “Let’s Encrypt™”.
Analyzing “cpuser”’s domains …
Analyzing “domain.com” (website) …
TLS Status: Incomplete
Certificate expiry: 12/28/24, 2:36 PM UTC (185.79 days from now)
Impediment: CERTIFICATE_IS_EXTERNALLY_SIGNED: The certificate is neither self-signed nor from AutoSSL.
This user’s SSL coverage is already optimal.
We workaround it by creating cpanel.domain.com subdomain with its doc root and forwarded it to :2083 port.
Is there a solution to make AutoSSL work for system subdomains in this situation automatically?
Thank you!
-
Hey there! In general, you shouldn't have an account for host.yourservername.com that can host web content. You can have yourservername.com, but you can't use the hostname for web content.
There is also a difference between AutoSSL and the hostname certificate. The hostname certificate gets generated with /usr/local/cpanel/bin/checkallsslcerts. Can you try running that command and see what the output is?
0
Please sign in to leave a comment.
Comments
1 comment