I just installed DirectAdmin and opened the GUI but the instructions show https://. I cannot open it that way. But http:// works. What did I not install? I know, a cert but shouldn't it have installed with the installation files?
/usr/bin/openssl req -x509 -sha256 -newkey rsa:4096 -keyout /usr/local/directadmin/conf/cakey.pem -out /usr/local/directadmin/conf/cacert.pem -days 9000 -nodes
chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem chmod 400 /usr/local/directadmin/conf/cakey.pem
./directadmin set ssl 1
systemctl restart directadmin
cd /usr/local/directadmin touch conf/cakey.pem touch conf/cacert.pem touch conf/carootcert.pem chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem chmod 400 /usr/local/directadmin/conf/cakey.pem ***copy certs*** cd /usr/local/directadmin ./directadmin set ssl 1 ./directadmin set carootcert /usr/local/directadmin/conf/carootcert.pem systemctl restart directadmin
cd /usr/local/directadmin ./directadmin set ssl_redirect_host server.example.com
server.example.comis your server hostname.