This article will demonstrate how to with Python mock datetime now in unit testing. Unit testing is vital to any successful and robust software product, and having the ability to mock sections of your code is a critical part of that. The use case for mocking datetime now in this article is that … [Read more...] about Python mock datetime now
Python get SSL Certificate
This article will demonstrate how to use Python to get an SSL Certificate from a server. The server may be a remote web server, sip server, or any other type of server supporting SSL or TLS protected by a certificate. The server may even be a local server on the same machine as you are working from, … [Read more...] about Python get SSL Certificate
OpenSSL Self Signed Certificate
This article will demonstrate how to use OpenSSL to create a self signed certificate. First things first. What is a self signed certificate? A self signed certificate is exactly what it sounds like. The private key of the key pair signs its own SSL certificate. It is not signed by a CA … [Read more...] about OpenSSL Self Signed Certificate
ssh ec2 instance – How to add an ssh key
The purpose of this article is to demonstrate how to add an ssh key to an existing ec2 instance. If you are reading this then you have likely created an ec2 instance but cannot access it remotely except through the AWS console. It's important to always have a way to ssh into your ec2 instances … [Read more...] about ssh ec2 instance – How to add an ssh key
Java encryption – Encryption with Java
Java encryption can be achieved in many different ways and methods and also with third party libraries and dependencies. This article will attempt to dive in a few of these areas, and will hopefully increase your knowledge of encryption with java. The examples are all at our github repo. … [Read more...] about Java encryption – Encryption with Java
ldapsearch Active Directory
The purpose of this article is to demonstrate how to use ldapsearch with Active Directory. Microsoft's Active Directory is an Ldap implementation running on domain services in a Microsoft environment. This article is geared towards directory administrators coming from a Linux environment using … [Read more...] about ldapsearch Active Directory
Upgrade Ubuntu 18.04 to 20.04
This article will demonstrate how to upgrade Ubuntu 18.04 to 20.04. We recommend always staying up to date to the latest LTS (Long Term Support) version of Ubuntu and this article assumes the intermediary releases were skipped. As soon as a new LTS version is made available to you in your package … [Read more...] about Upgrade Ubuntu 18.04 to 20.04
Ubuntu Time Settings
This article will demonstrate how to manage Ubuntu time settings. The examples provided in this article were completed with Ubuntu 20.04.4 LTS, but should work for any recent version of Ubuntu. If not, leave us a comment and we will update accordingly. To check your version of Ubuntu, run the … [Read more...] about Ubuntu Time Settings