Serversupportstaff
Verified User
- Joined
- Jul 29, 2020
- Messages
- 12
Directadmin.domain.com is used to access the control panel for the users just like domain.com:2222. Directadmin.domain.com acts as a separate account and as a main domain with the username DirectAdmin. The A record is pointed to our server but since this is a subdomain, there is no NS record. When renewing the SSL certificates, we are facing the following error. The domain domain.com is not added to the DirectAdmin panel so the main domain is directadmin.domain.com itself. We use Cloudflare to mask the main domain records. Is it necessary for the subdomain to have an NS record to issue an SSL certificate when it is used as the main domain? A sample of the error is given below.
Thanks and regards.2023/04/24 14:30:34 [INFO] [directadmin.comain.com] acme: Obtaining SAN certificate
2023/04/24 14:30:34 [INFO] [directadmin.comain.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/222130902807
2023/04/24 14:30:34 [INFO] [directadmin.comain.com] acme: Could not find solver for: tls-alpn-01
2023/04/24 14:30:34 [INFO] [directadmin.comain.com] acme: use http-01 solver
2023/04/24 14:30:34 [INFO] [directadmin.comain.comm] acme: Trying to solve HTTP-01
2023/04/24 14:30:40 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/222130902807
2023/04/24 14:30:40 Could not obtain certificates:
error: one or more domains had a problem:
[directadmin.comain.com] acme: error: 403 :: urn:ietfarams:acme:error:unauthorized :: Invalid response from https://directadmin.comain.com/: "
"
Certificate generation failed.