Setup apache:
Code: Select all
apt install apache2Check configuration:
Code: Select all
nano /etc/apache2/sites-available/default-ssl.confCheck if webmaster's email is correct:
Code: Select all
ServerAdmin webmaster@srv.worldCheck if files exists
Code: Select all
SSLCertificateFile /etc/ssl/private/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.keyExit nano (ctrl+x), save changes (y)
Enabling site default-ssl
Code: Select all
a2ensite default-sslEnable SSL mod
Code: Select all
a2enmod sslRestart Apache
Code: Select all
systemctl restart apache2