I ran this command: Tray to open my Site with https
It produced this output: ERR_SSL_PROTOCOL_ERROR
My web server is (include version): Apache/2.4.29
The operating system my web server runs on is (include version): Ubuntu 18.04
My hosting provider, if applicable, is: -
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Webmin 1.941
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.31.0
Hello as the Titel says I get a ERR_SSL_PROTOCOL_ERROR when trying to connect to my site via https. And sadly I haven’t found a solution on the Internet. You can find a copy of my Apache conf here. Just to let you know it is 2020-03-21T22:35:00Z PM here and I am going to sleep soon.
Thanks in Advance
Chriss
Edit: I now also have the Problem that is using the default path ad Root dir eg. /var/www/html/ and not /var/www/alterblog.net it used the correct path before I used a2ensite maybe those a connected?
It looks like this now:
<VirtualHost *:80>
ServerName alterblog.net
DocumentRoot /var/www/alterblog.net
RewriteEngine on
RewriteCond %{SERVER_NAME} =alterblog.net
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
<VirtualHost *:443>
ServerName alterblog.net
DocumentRoot /var/www/alterblog.net
<Directory "/var/www/alterblog.net">
allow from all
Options None
Require all granted
</Directory>
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/alterblog.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/alterblog.net/privkey.pem
</VirtualHost>