Hello,
I have successfully set up SSL certificates on domains without issue, however I'm running into a problem when attempting to install an SSL certificate for subdomains.
For example, I have a DirectAdmin account with a domain like 'test.domain.com'. (Meaning, I DON'T have an account 'domain.com' and have a subdomain set up within that account as 'test.domain.com')
When I attempt to use the built-in DirectAdmin Let's Encrypt SSL install, I get this error:
The problem looks like is that it can't resolve the A record of www.test.domain.com, which is correct, that would not resolve. However test.domain.com resolves fine to an IP address.
When filling out the information for the SSL certificate, I've tried both www.test.domain.com and test.domain.com in the Common Name, but I get errors with either I try.
Any suggestions as to what I can do or what may be causing the problem?
I have successfully set up SSL certificates on domains without issue, however I'm running into a problem when attempting to install an SSL certificate for subdomains.
For example, I have a DirectAdmin account with a domain like 'test.domain.com'. (Meaning, I DON'T have an account 'domain.com' and have a subdomain set up within that account as 'test.domain.com')
When I attempt to use the built-in DirectAdmin Let's Encrypt SSL install, I get this error:
Code:
Cannot Execute Your Request
Details
Getting challenge for test.domain.com from acme-server...
Waiting for domain verification...
Challenge is valid.
Getting challenge for www.test.domain.com from acme-server...
Waiting for domain verification...
Challenge is invalid. Details: DNS problem: NXDOMAIN looking up A for www.test.domain.com. Exiting...
The problem looks like is that it can't resolve the A record of www.test.domain.com, which is correct, that would not resolve. However test.domain.com resolves fine to an IP address.
When filling out the information for the SSL certificate, I've tried both www.test.domain.com and test.domain.com in the Common Name, but I get errors with either I try.
Any suggestions as to what I can do or what may be causing the problem?