We want to generate the PublicKey.pem file using wolfssl ecc algorithm from a certificate file that is extracted from a pfx file using pkcs12 algorithm in Openssl command prompt.

Please help to achieve this.