I could have titled this post as “The evolution of a website”. This blog was started back in 2015 and at that time was hosted on a virtual Ubuntu 14.04 instance. I also had my personal site on yet another
DNS Based Challenge Verification SSL Certificates
Introduction Letsencrypt offer free SSL certs but the one caveat is they have a short 90 day expiry. There is the option to setup automatic renewal using file based verification if the web server is accessible publicly, however if you need
Install Apache2 mod_wsgi Ubuntu
Introduction First place to start is the docs: https://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html Advises to install dev packages for apache and python if not installed. Use the latest version from source rather than using the versions in the repos. Once you’ve built from source,
Sophos UTM9 Reverse Proxy Certificates
Introduction If you’re using the Sophos UTM9 as a reverse proxy then you will need to install certificates on the UTM to present to the client when they are browsing those secured sites. The UTM will need the file in
Generate a CSR Using Openssl
Introduction Just a quick refresher on generating certificate signing requests. Generate the RSA key Create a RSA key for your Apache server, since every distro is different in where to place the certificates, we are just going to place it
Stop Apache Asking for SSL Passphrase after Restart
Introduction After upgrading my sites to SSL/TLS I had an annoying issue where after a reboot, I would have to kill the Apache process and start it again manually because it would fail first time because it did not have
Cisco ASA regex blocking
Introduction I was actually doing some research on DDOS attacks and what the ASA is capable of, when I came across this little known feature. Regex or regular expressions are used to match text strings or patterns in text. My
How to Auto Redirect Apache Default Webpage to a Specific Page CentOS
Introduction Not much to add here as its the same as an older post: https://ip-life.net/how-to-auto-redirect-apache-default-webpage-to-a-specific-page/ Fix The only difference required in CentOS is to actually make the index file in the /var/www/html/ location: # touch /var/www/html/index.html Then modify as per
Cacti Validation Error
Introduction You try and add a new graph/s to a Graph Tree in cacti but you get “Validation error”. Fix Try editing the: /usr/share/cacti/graphs.php file and comment out the following line and restart apache. //input_validate_input_number(get_request_var_post(‘drp_action’)); service httpd restart
How to Auto Redirect Apache Default Webpage to a Specific Page
Introduction I wanted the default webpage of an internal server to go to the Cgi-bin directory so I could see my configs. Configuration Here’s what I did. Log into the server via SSH. #sudo su So I could modify the