I have a directadmin server and for a long time, each time when I had to renew the SSL certificate for every subdomain I could do that running:
(server.domain.com is my server's hostname).
In the terminal I would get the TXT value to put into my DNS and after 5 minutes or so everything worked fine. Today I wanted to do this renewal again, but I'm getting another output (I guess the letsencrypt.sh scripts was updated through directadmin). So there is no TXT value anymore that I can copy, instead some standard messages and a link to AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/********** Following that link would show some object with a token in it, I've tried copying that token and put it in the TXT record, but no luck.
Then after some trial and error I've tried the following command:
and it states it was succesfull, but https is still not working. Even if I try the first command again, it only will show now that it is already validated. This is the output:
2020/11/25 20:22:14 [INFO] [server.domain.com] acme: Obtaining SAN certificate
2020/11/25 20:22:15 [INFO] [server.domain.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/**********
2020/11/25 20:22:15 [INFO] [server.domain.com] acme: authorization already valid; skipping challenge
2020/11/25 20:22:15 [INFO] [server.domain.com] acme: Validations succeeded; requesting certificates
2020/11/25 20:22:16 [INFO] [server.domain.com] Server responded with a certificate.
Certificate for server.domain.com has been created successfully!
DirectAdmin certificate has been setup.
Setting up cert for Exim...
Setting up cert for WWW server...
Setting up cert for FTP server...
The services will be restarted in about 1 minute via the dataskq.
My guess is I only have a single certificate now (https://server.domain.com is indeed working), but I wanted a wildcard SSL (I have a lot of student subdomains in this server which all need to have https). Am I missing something, could someone point me in the right direction?
Code:
cd /usr/local/directadmin/scripts
./letsencrypt.sh request server.domain.com
(server.domain.com is my server's hostname).
In the terminal I would get the TXT value to put into my DNS and after 5 minutes or so everything worked fine. Today I wanted to do this renewal again, but I'm getting another output (I guess the letsencrypt.sh scripts was updated through directadmin). So there is no TXT value anymore that I can copy, instead some standard messages and a link to AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/********** Following that link would show some object with a token in it, I've tried copying that token and put it in the TXT record, but no luck.
Then after some trial and error I've tried the following command:
Code:
./letsencrypt.sh request_full server.domain.com
and it states it was succesfull, but https is still not working. Even if I try the first command again, it only will show now that it is already validated. This is the output:
2020/11/25 20:22:14 [INFO] [server.domain.com] acme: Obtaining SAN certificate
2020/11/25 20:22:15 [INFO] [server.domain.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/**********
2020/11/25 20:22:15 [INFO] [server.domain.com] acme: authorization already valid; skipping challenge
2020/11/25 20:22:15 [INFO] [server.domain.com] acme: Validations succeeded; requesting certificates
2020/11/25 20:22:16 [INFO] [server.domain.com] Server responded with a certificate.
Certificate for server.domain.com has been created successfully!
DirectAdmin certificate has been setup.
Setting up cert for Exim...
Setting up cert for WWW server...
Setting up cert for FTP server...
The services will be restarted in about 1 minute via the dataskq.
My guess is I only have a single certificate now (https://server.domain.com is indeed working), but I wanted a wildcard SSL (I have a lot of student subdomains in this server which all need to have https). Am I missing something, could someone point me in the right direction?