Tag: Apache
-
WordPress: Site not Secure despite SSL Certificate
I’ve recently migrated all my sites to use SSL (I know, it’s long overdue) and despite the SSL-Certificates being valid and working, Chrome and Firefox would show my sites as “not secure”. (No padlock icon.) After some digging, I discovered that WordPress really doesn’t play very nicely with SSL. Lots of themes, plugins, etc will […]
-
Apache: How To Redirect http to https
If you want to direct traffic from your http so that it gets encrypted, this is really easy to do in Apache: Step one: Set up your https vhost: <IfModule mod_ssl.c><VirtualHost 10.1.1.1:443>DocumentRoot /var/www# other server options go here as needed# – logging for exampleSSLEngine onSSLCertificateFile /etc/ssl/certs/example.certSSLCertificateKeyFile /etc/ssl/private/example.key# Add other SSL specific options as needed</pre></VirtualHost></IfModule> Step […]
-
WordPress: Images not displaying, Redirects not working
Moved my WordPress installation to a new server. I kept all paths etc intact, copied my VirtualHost and permissions were good, so I was at first surprised when my images didn’t show and redirects didn’t work. The cause was quickly found, however; it seems my old install had different default settings hidden somewhere in the […]
-
Apache: ssl_error_rx_record_too_long Error
Got the error ssl_error_rx_record_too_long in Apache. Was confused at first, but then realized I had not configured SSL properly – Firefox was attempting to parse http as https. So I set out to configure SSL and lo and behold, this solved the issue.
-
Enabling SSL in Apache2 on Ubuntu
I’m using my server for various admin interfaces and so want to SSL encrypt all traffic to the web server. This is easy enough to add to the default vhosts. First, we need an SSL certificate. Create it by running: openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/apacheserver.pem -keyout /etc/ssl/private/apacheserver.pem This generates a self-signed […]