title: extract the public key from the certificate.pem
body: <p>I was trying to extract the public key with the certificate file that the partner give me in my public key file with the following command:</p>
  <pre><code>openssl x509 -pubkey -noout -in [certFile.pem]  &gt; [myPubKeyFile.pem]
  </code></pre>
  <p>but it shows me the following error:</p>
  <pre><code>x509: Unknown parameter &gt;
  x509: Use -help for summary.
  error in x509
  </code></pre>
  <p>How can I fix it?
  thanks.</p>