finished the first todo of getting the chain, serverDN, and serialNumber;