Updated crt2key.c to take certificate as input rather than a public key file.