I'm setting up a new Ubuntu 22 box on Azure.
LetsEncrypt is installed and it has issued the certificates for the domain, but browsers can't seem to connect to the domain over https.
ssl.conf
and options-ssl-apache.conf
have not been modified. (I did try to override a few of the settings in my virtualhosts file for various reasons, but backed them out when they made no difference.)
I had some permissions issues in /etc/letsencrypt/
but this was resolved by changing archive
and live
to 0755. keys
and accounts
were likewise set to 0700 but changing those to 0755 didn't help.
Does anyone have any ideas what might be causing my protocol error?
Thanks!
-Colin
Output:
Firefox: SSL_ERROR_RX_RECORD_TOO_LONG
Chrome: ERR_SSL_PROTOCOL_ERROR
cURL: LibreSSL/3.3.6: error:1404B42E:SSL routines:ST_CONNECT:tlsv1 alert protocol version
Domain: https://wol.runcode.run
Web server: Apache 2.4.52
OS: Ubuntu 22.04.3 LTS
Host: Azure
Root: Yes
CertBot Version 1.21.0
VirtualHost File:
<VirtualHost *:80>
ServerName wol.runcode.run
ServerAlias www.wol.runcode.run
DocumentRoot /var/www/wol.runcode.run/live/public
ErrorLog /var/www/wol.runcode.run/live/logs/www.log
</VirtualHost>
<VirtualHost *:443>
ServerName wol.runcode.run
ServerAlias www.wol.runcode.run
DocumentRoot /var/www/wol.runcode.run/live/public
ErrorLog /var/www/wol.runcode.run/live/logs/www.log
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
<Directory /var/www/wol.runcode.run/live/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
### SSL
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/wol.runcode.run/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/wol.runcode.run/privkey.pem
</VirtualHost>