Extract public key from certificate :
openssl x509 -pubkey -noout -in certificate.pemGetting private key from csr
openssl rsa -in csr.pem -text
Extract public key from certificate :
openssl x509 -pubkey -noout -in certificate.pemGetting private key from csr
openssl rsa -in csr.pem -text