I have a .cer certificate file, and need to extract the Public Key. I can only extract to PEM format. The "outform" parameter does nothing.
openssl x509 -inform PEM -in certificate.cer -outform DER -pubkey -noout > publickey.der
Is it possible to extract in DER format?