My domain is: shentaichiacademy.co.uk
I ran this command: sudo certbot --apache
It produced this output: eveything fine
My web server is (include version): Apache 2.4.53 (Debian)
The operating system my web server runs on is (include version): Raspian (bullseye)
My hosting provider, if applicable, is: in home raspberry pi
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): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 1.12.0
I am running a Django website which is running localy okay under /etc/hosts/ but when I go to access it on another machine I get "Secure Connection Failed". I am using IONOS as domain name provider and FreeDNS as DNS provider. Name Servers are set in IONOS for FreeDNS and I can load up my main domain on port 80 at sbrown.ml with no problem. I have shentaichiacademy.co.uk set up as a vhost and an alias for www.shentaichiacademy.co.uk.
I see your website secure with both www domain and the apex. See sample SSL test site below. What browser or client do you see the error from? Maybe just stop/start the browser to clear cache if the SSL cert is new?
AH00526: Syntax error on line 27 of etc/apache2/sites-enabled/shentaichiacademy.co.uk-le-ssl.conf
SSLCertificateFile: file 'etc/letsencrypt/live/shentaichiacademy.co.uk/fullchain.pem' does not exist or is empty.
fullchain.pem is there and has content in it. I did however need to be in superuser to get into the live directory.
curl -Ii http://shentaichiacademy.co.uk/
curl: (56) Recv failure: Connection reset by peer
curl -Ii http://www.shentaichiacademy.co.uk/
curl: (56) Recv failure: Connection reset by peer
curl -Ii https://shentaichiacademy.co.uk/
curl: (7) Failed to connect to shentaichiacademy.co.uk port 443: No route to host
curl -Ii https://www.shentaichiacademy.co.uk/
curl: (7) Failed to connect to www.shentaichiacademy.co.uk port 443: No route to host
root@raspberrypi:/media/manager/MOVIES# apachectl -t -D DUMP_VHOSTS
VirtualHost configuration:
*:443 shentaichiacademy.co.uk (/etc/apache2/sites-enabled/shentaichiacademy.co.uk-le-ssl.conf:2)
*:80 is a NameVirtualHost
default server 127.0.0.1 (/etc/apache2/sites-enabled/000-default.conf:1)
port 80 namevhost 127.0.0.1 (/etc/apache2/sites-enabled/000-default.conf:1)
port 80 namevhost example.com (/etc/apache2/sites-enabled/example.com.conf:1)
alias www.example.com
port 80 namevhost shentaichiacademy.co.uk (/etc/apache2/sites-enabled/shentaichiacademy.co.uk.conf:1)
alias www.shentaichiacademy.co.uk
manager@raspberrypi:/etc/apache2/sites-enabled $ apachectl -t -D DUMP_VHOSTS
AH00526: Syntax error on line 27 of /etc/apache2/sites-enabled/shentaichiacademy.co.uk-le-ssl.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/shentaichiacademy.co.uk/fullchain.pem' does not exist or is empty
Action '-t -D DUMP_VHOSTS' failed.
The Apache error log may have more information.
Secure Connection Failed
An error occurred during a connection to www.shentaichiacademy.co.uk. PR_END_OF_FILE_ERROR
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the web site owners to inform them of this problem.
Yes that got it, people are telling me the site is up, but within the local network here I still get the connection error. I used my mobile with wifi off and it showed the site and others. With wifi on it only showed others and gave the same error for my site. Bit strange but i can access it on the hosting machine with the host file set.
I'm confused but as far as certificate is concerned it works in the wild,
It produced this output: Secure Connection Failed, An error occurred during a connection to www.shentaichiacademy.co.uk. Peer reports it experienced an internal error. Error code: SSL_ERROR_INTERNAL_ERROR_ALERT. The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the web site owners to inform them of this problem. This was in a remote browser. It runs fine localy.
My web server is (include version):
Apache 2.4.53 (Debian)
The operating system my web server runs on is (include version):
Raspian (bullseye)
My hosting provider, if applicable, is:
At home on a raspberry pi
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):
no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
1.12.0