Using the VI Editor (For Windows Types)
Apr20

Using the VI Editor (For Windows Types)

KB ID 0001304 Dtd 20/04/17 Problem I dont have a ginger ponytail, nor do I wear sandals, couple these two things together and you will understand why I find VI so confusing! Many times I've had to alter a config file on an appliance, or a Linux box, and sat frowning at VI wondering why I can't change a one to a zero. Note: Nano is easier, if possible try nano {filename} to save hassle. But on hardened appliances for example, it wont...

Read More
Cisco AnyConnect – With Google Authenticator 2 Factor Authentication
Nov10

Cisco AnyConnect – With Google Authenticator 2 Factor Authentication

KB ID 0001256 Dtd 09/11/16 Problem This was asked as a question on Experts Exchange this week, and it got my interest. A quick search turned up a bunch of posts that said, yes this is possible, and you deploy it with FreeRADIUS and it works great. The problem was, a lot of the information is a little out of date, and some of it is 'wrong enough' to make the non-technical types give up. But I persevered, and got it to work. Disclaimer:...

Read More
CentOS 7 – Serving HTTPS with Apache2
Jun23

CentOS 7 – Serving HTTPS with Apache2

KB ID 0001210 Dtd 24/06/16 Problem This week I've been working on changing the site over to https. Buying a digital certificate used to be an expensive long winded affair, but not anymore. A quick internet search turned up a 3 year SSL certificate for less than 15 quid.Getting the certificate was the easy bit, getting it installed so that Apache would use it was another 'challenge'. On a scale of one to ten, I'm about a three (on a...

Read More
Linux (CentOS 7) Generating CSR (Certificate Signing Requests)
Jun21

Linux (CentOS 7) Generating CSR (Certificate Signing Requests)

KB ID 0001206 Dtd 21/06/16ProblemIf you want to use digital certificates on your CentOS server, then you will need to generate a CSR. It does not matter if you want to purchase a publicly signed certificate, or even if you are going to sign your own. Below is how to generate a CSR for a single web host.Note: Most cert vendors now require a minimum key length of 2048 so thats what I'm going to use. And I'm assuming you have openSSL...

Read More
Mac OSX and Linux – Quick and Dirty Web Server
Feb10

Mac OSX and Linux – Quick and Dirty Web Server

KB ID 0001157 Dtd 10/02/16 Problem I was clearing out some old emails yesterday, and saw one my colleague Steve had sent me. It was info on how to fire up a quick web server on your mac. It wasn't until I took a look at it, I realised how handy it was. After some reading, I found that it was not only possible on a mac, but on other flavours of Linux as well, (as long as they support 'python' and have it loaded). WHAT USE IS THAT? What...

Read More
Webmin – Read User Mail Error ‘The mail server in the module configuration was not found on your system’
Nov17

Webmin – Read User Mail Error ‘The mail server in the module configuration was not found on your system’

KB ID 0000885 Dtd 27/22/13ProblemWhile setting up and configuring a new Postfix mail server, I attempted to use the Webmin ‘Read User Mail’ module, and got this error.Module Config Read User Mail The mail server set in the module configuration was not found on your system, You will need to adjust the configuration to use the correct server. SolutionAt first I thought I needed to enter a servername into the config. However...

Read More