I have a public key given in a document, in the form
-----BEGIN CERTIFICATE----- blah blah blah -----END CERTIFICATE-----
Is there a tool I can use to generate a PEM or CER file from this? I've looked into openssl, and googled around until I think I'll go crazy. It seems most people don't get the key in raw text format.