it("should read a V3 X509 self-certificate (with extensions)", () => {
        const filename = path.join(__dirname, "../test-fixtures/certs/demo_certificate.pem");
        fs.existsSync(filename).should.equal(true);

        const certificate = readCertificate(filename);