Setup SSL Certificates for Direct Admin:
This step is only required if you wish to use DirectAdmin through SSL.
You will also have to change set SSL=1 in the directadmin.conf file. ( /home/directadmin/directadmin.conf )
# openssl req -new -x509 -keyout /usr/local/directadmin/conf/cakey.pem.tmp -out /usr/local/directadmin/conf/cacert.pem
# openssl rsa -in /usr/local/directadmin/conf/cakey.pem.tmp -out /usr/local/directadmin/conf/cakey.pem
# rm /usr/local/directadmin/conf/cakey.pem.tmp
# chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem
# chmod 400 /usr/local/directadmin/conf/cakey.pem
Named Reload Bug (RedHat 7.2 Only)
Make sure that the /etc/rndc.conf file has the following data for the “server localhost” directive:
# cat /etc/rndc.conf
.....
server localhost {
key "rndckey";
};