==========================================================================
Written by Alex Grebenschikov (
[email protected]), 2015,2017,2021
==========================================================================
[INFO] Validating CERT /usr/local/directadmin/conf/cacert.pem
[OK] The cert md5 hash: decbfcf2ba8b56cf45a80fb0e3b96c4b
[INFO] Validating CERT /usr/local/directadmin/conf/cakey.pem
[OK] The key md5 hash: decbfcf2ba8b56cf45a80fb0e3b96c4b
[OK] CERT and KEY match each other!
[INFO] You provided CACERT /usr/local/directadmin/conf/carootcert.pem
[INFO] Validating CERT /usr/local/directadmin/conf/carootcert.pem
[OK] The cert md5 hash: 6e1860ff2074bc0587e9aba832417b95
[OK] Installing cert/key for Directadmin
cp: ‘/usr/local/directadmin/conf/cacert.pem’ and ‘/usr/local/directadmin/conf/cacert.pem’ are the same file
cp: ‘/usr/local/directadmin/conf/cakey.pem’ and ‘/usr/local/directadmin/conf/cakey.pem’ are the same file
cp: ‘/usr/local/directadmin/conf/carootcert.pem’ and ‘/usr/local/directadmin/conf/carootcert.pem’ are the same file
mode of ‘/usr/local/directadmin/conf/cacert.pem’ changed from 0644 (rw-r--r--) to 0600 (rw-------)
mode of ‘/usr/local/directadmin/conf/cakey.pem’ changed from 0400 (r--------) to 0600 (rw-------)
mode of ‘/usr/local/directadmin/conf/carootcert.pem’ changed from 0644 (rw-r--r--) to 0600 (rw-------)
ownership of ‘/usr/local/directadmin/conf/cacert.pem’ retained as diradmin:diradmin
ownership of ‘/usr/local/directadmin/conf/cakey.pem’ retained as diradmin:diradmin
ownership of ‘/usr/local/directadmin/conf/carootcert.pem’ retained as diradmin:diradmin
[OK] Restarting service directadmin
[OK] Installing cert/key for Litespeed
‘/usr/local/directadmin/conf/cacert.pem’ -> ‘/etc/httpd/conf/ssl.crt/server.crt’
‘/usr/local/directadmin/conf/cacert.pem’ -> ‘/etc/httpd/conf/ssl.crt/server.crt.combined’
‘/usr/local/directadmin/conf/cakey.pem’ -> ‘/etc/httpd/conf/ssl.key/server.key’
‘/usr/local/directadmin/conf/carootcert.pem’ -> ‘/etc/httpd/conf/ssl.crt/server.ca’
mode of ‘/etc/httpd/conf/ssl.crt/server.crt’ retained as 0600 (rw-------)
mode of ‘/etc/httpd/conf/ssl.key/server.key’ retained as 0600 (rw-------)
mode of ‘/etc/httpd/conf/ssl.crt/server.ca’ retained as 0600 (rw-------)
mode of ‘/etc/httpd/conf/ssl.crt/server.crt.combined’ retained as 0600 (rw-------)
ownership of ‘/etc/httpd/conf/ssl.crt/server.crt’ retained as root
ownership of ‘/etc/httpd/conf/ssl.key/server.key’ retained as root
ownership of ‘/etc/httpd/conf/ssl.crt/server.ca’ retained as root
ownership of ‘/etc/httpd/conf/ssl.crt/server.crt.combined’ retained as root
group of ‘/etc/httpd/conf/ssl.crt/server.crt’ retained as root
group of ‘/etc/httpd/conf/ssl.key/server.key’ retained as root
group of ‘/etc/httpd/conf/ssl.crt/server.ca’ retained as root
group of ‘/etc/httpd/conf/ssl.crt/server.crt.combined’ retained as root
[OK] Restarting service litespeed
Failed to restart litespeed.service: Unit not found.
[OK] Installing cert/key for Exim and Dovecot
‘/usr/local/directadmin/conf/cacert.pem’ -> ‘/etc/exim.cert’
‘/usr/local/directadmin/conf/cakey.pem’ -> ‘/etc/exim.key’
mode of ‘/etc/exim.key’ retained as 0600 (rw-------)
mode of ‘/etc/exim.cert’ retained as 0600 (rw-------)
ownership of ‘/etc/exim.key’ retained as mail
ownership of ‘/etc/exim.cert’ retained as mail
group of ‘/etc/exim.key’ retained as mail
group of ‘/etc/exim.cert’ retained as mail
[OK] Restarting service exim
[OK] Restarting service dovecot
[OK] Installing cert/key for PureFTPd
mode of ‘/etc/pure-ftpd.pem’ retained as 0600 (rw-------)
ownership of ‘/etc/pure-ftpd.pem’ retained as root:root
[OK] Restarting service pure-ftpd