Deploy a 3-Node MongoDB 4.0 Replica Set with X.509 Authentication + Self Signed Certificates

This article will guide you through the process of setting up a MongoDB cluster that will utilise X.509 authentication with self signed certificates. Our cluster will consist of 3 nodes that will be deployed as a replica set. I will also include tips along the way to help your workflow.