Hy guys,
i can't figure out how to remove hostname set by default from DA.
Tried to follow a lot of posts here, like this: https://forum.directadmin.com/threads/sll-for-hostname-still-getting-old-hostname.69119/#post-365800
I checked all files involved after that, and all seems to be fine, but when i try to use Let'encrypt tool i obtain this:
[root@server log]# cd /usr/local/directadmin/scripts
[root@server scripts]# ./letsencrypt.sh request_single $(hostname -f) 4096
Setting up certificate for a hostname: server.a******a.com
2024/02/07 16:28:34 [INFO] [server-xx-xx-xx-xx.da.direct] acme: Obtaining SAN certificate
2024/02/07 16:28:35 [INFO] [server-xx-xx-xx-xx.da.direct] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/310475144577
2024/02/07 16:28:35 [INFO] [server-xx-xx-xx-xx.da.direct] acme: authorization already valid; skipping challenge
2024/02/07 16:28:35 [INFO] [server-xx-xx-xx-xx.da.direct] acme: Validations succeeded; requesting certificates
2024/02/07 16:28:38 [INFO] [server-xx-xx-xx-xx.da.direct] Server responded with a certificate for the preferred certificate chains "ISRG Root X1".
Certificate for server-xx-xx-xx-xx.da.direct has been created successfully!
DirectAdmin certificate has been setup.
Setting up cert for Exim...
2024/02/07 16:28:38 info executing task task=action=exim&value=restart
2024/02/07 16:28:39 info executing task task=action=dovecot&value=restart
Setting up cert for WWW server...
2024/02/07 16:28:39 info executing task task=action=httpd&affect_php_fpm=no&value=reload
Setting up cert for FTP server...
2024/02/07 16:28:40 info executing task task=action=pure-ftpd&value=restart
2024/02/07 16:28:40 info executing task task=action=directadmin&value=restart
[root@server scripts]#
From another server, it seems the SOA of that fqdn is external:
[root@srv ~]# dig SOA server-xx-xx-xx-xx.da.direct +short
ns1.da.direct. martynas.directadmin.dev. 1 10800 3600 604800 3600
[root@srv ~]#
DA version: DirectAdmin v.1.659
What else can i try to do?
Thanks in advance
i can't figure out how to remove hostname set by default from DA.
Tried to follow a lot of posts here, like this: https://forum.directadmin.com/threads/sll-for-hostname-still-getting-old-hostname.69119/#post-365800
I checked all files involved after that, and all seems to be fine, but when i try to use Let'encrypt tool i obtain this:
[root@server log]# cd /usr/local/directadmin/scripts
[root@server scripts]# ./letsencrypt.sh request_single $(hostname -f) 4096
Setting up certificate for a hostname: server.a******a.com
2024/02/07 16:28:34 [INFO] [server-xx-xx-xx-xx.da.direct] acme: Obtaining SAN certificate
2024/02/07 16:28:35 [INFO] [server-xx-xx-xx-xx.da.direct] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/310475144577
2024/02/07 16:28:35 [INFO] [server-xx-xx-xx-xx.da.direct] acme: authorization already valid; skipping challenge
2024/02/07 16:28:35 [INFO] [server-xx-xx-xx-xx.da.direct] acme: Validations succeeded; requesting certificates
2024/02/07 16:28:38 [INFO] [server-xx-xx-xx-xx.da.direct] Server responded with a certificate for the preferred certificate chains "ISRG Root X1".
Certificate for server-xx-xx-xx-xx.da.direct has been created successfully!
DirectAdmin certificate has been setup.
Setting up cert for Exim...
2024/02/07 16:28:38 info executing task task=action=exim&value=restart
2024/02/07 16:28:39 info executing task task=action=dovecot&value=restart
Setting up cert for WWW server...
2024/02/07 16:28:39 info executing task task=action=httpd&affect_php_fpm=no&value=reload
Setting up cert for FTP server...
2024/02/07 16:28:40 info executing task task=action=pure-ftpd&value=restart
2024/02/07 16:28:40 info executing task task=action=directadmin&value=restart
[root@server scripts]#
From another server, it seems the SOA of that fqdn is external:
[root@srv ~]# dig SOA server-xx-xx-xx-xx.da.direct +short
ns1.da.direct. martynas.directadmin.dev. 1 10800 3600 604800 3600
[root@srv ~]#
DA version: DirectAdmin v.1.659
What else can i try to do?
Thanks in advance