Thanks in advance for supporting this. I really appreciate the help and the product in the first place.
I am running a self configured server with Apache2 on an EC2 instance on AWS and I am tearing my hair out with weird issues on the site.
In the beginning it there was plain http. This worked well on the desktop with chrome and Firefox (didn’t test safari desktop), but had a really aggravating white screen of nothing when I tried to use my ipad or iPhone. Also, (and I have no clue why this was) it seemed like it was sending an initial request to the server, then showing a white screen of death, then if I refreshed the page or cleared the cache and refreshed the page, it wouldn’t even make a new request to the server. There was nothing in the Apache access logs and I couldn’t find any trace of the ipad actually looking for the website. I spoke to some friends who said that China might be injecting some mess into the site as they sometimes do (I’m in China - Server’s in Japan) so I decided to try ssl.
Enter Let’s Encrypt. With ease (thank you), I installed the certificate using certbot and added a virtual host on port 80 at the top of the file that does nothing but redirect traffic to https://my-site.
But… the certificate isn’t trusted. It’s not trusted in safari or in chrome on iOS, and it sometimes comes up with that horrible warning sign in chrome on desktop that will make visitors think your website has been taken over by anonymous or something (The “This website is not secure/might be under attack/etc” one). Weirdly, though, it’s only sometimes.
If anyone’s got any clue what I’ve misconfigured, I’d be really grateful.
It’s a Ubuntu 16 server on EC2 running Apache2.4.18 with mod_wsgi enabled.
<VirtualHost *:80> Redirect / https://sq-research.com </VirtualHost> <IfModule mod_ssl.c> <VirtualHost *:443> ### Commented stuff at the head of the file I've deleted ServerAdmin email@example.com ServerName sq-research.com ServerAlias www.sq-research.com LogLevel debug ### In this space goes stuff to serve files for django and mod_wsgi setup SSLCertificateChainFile /etc/letsencrypt/live/sq-research.com/chain.pem SSLCertificateFile /etc/letsencrypt/live/sq-research.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/sq-research.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf </VirtualHost> </IfModule>