Fix Public key Cert load #110

Prior to this commit I did not look at the files on disk and was trying
to load a public key not a certificate file