Private Key Missing When Importing Certificate

Sometimes when a certificate is imported the associated private key is missing, this can occur for a number of reasons - for example, the key being imported through the MMC Certificates console while the pending request is in Exchange/IIS. Often this will result in errors when…

Specify Outbound External IP with a Cisco Router

With most simple configurations the public IP for outbound traffic will be the IP of the external interface. Sometimes this is not desirable as there may be a need to have different departments or VLANs (ie, Guest VLANs) exit the network through another public IP address, one…

Determine AD account password expiry date

Two quick methods to find the password expiry date of an Active Directory user account. With cmd.exe With PowerShell A bit longer but potentially more useful for integration into larger scripts. Alternatively can be replaced with to show all accounts.

Cisco IPsec Protected Tunnel

The following configures IPsec with AES encryption and SHA hashing on a standard Tunnel. Routes are configured as per the normal command. This configuration has the advantage of not using ACLs to determine routed subnets (‘interesting traffic’) as is the case with GETVPN/crypto…

AIDE Installation on CentOS

AIDE (Advanced Intrusion Detection Environment) is an host based intrusion detection system written for Linux systems. Installation Configuration Edit the config file at if necessary. One important thing to add would be the location of the DocumentRoot for webservers. On CentOS…

Installing, Updating and Running Nessus

Nessus is free and open source vulnerability scanner. With some 16,000 plugins it can scan pretty much anything and come up with useful information. On Unix- like systems, Nessus is based upon the client-server model, consisting of nessusd, the daemon and nessus, the client. This…

PIP Installation Guide

PIP is the recommended method for installing Python packages. Each time I need to install it I end up doing a quick search as it’s not something I do often enough to remember the process. So, to save my future self 30 seconds, here is the process. The official resource is the…

Python virtualenv primer

virtualenv is a Python package which enables the creation of isolated environments for projects. This allows different version of packages (Djano, for example) to co-exist on the same system and be used for different projects. This means cleaner systems (the only Python package…