Integrating Lets Encrypt test.
--- a/deb/apache-register-2048.bash Sun May 07 12:02:27 2023 +0300
+++ b/deb/apache-register-2048.bash Sun May 07 12:44:53 2023 +0300
@@ -12,11 +12,21 @@
cat <<EOF >/etc/apache2/sites-available/$d.conf
<VirtualHost $d.defun.work:*>
DocumentRoot /srv/www/$d
+ ServerName $d.defun.work
<Directory "/srv/www/$d/">
Require all granted
</Directory>
</VirtualHost>
+
+<IfModule mod_ssl.c>
+ <VirtualHost 2048.defun.work:443>
+
+ SSLCertificateFile /etc/letsencrypt/live/defun.work/fullchain.pem
+ SSLCertificateKeyFile /etc/letsencrypt/live/defun.work/privkey.pem
+ Include /etc/letsencrypt/options-ssl-apache.conf
+ </VirtualHost>
+</IfModule>
EOF
a2ensite $d