Устанавливаем ssl

a2enmod ssl
a2ensite default-ssl
systemctl restart apache2

Заходим по https