GetRawCertificate returns a copy of this certificate as an x509.Certificate