I have a couple of certificates whose format seem pretty similar except for one thing I have checked the details of the cert by using the following openssl command
openssl x509 -in certname -text
In one of the certificates, the Subject Public Key info appears like this
Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (1024 bit)
The other looks like
Subject Public Key Info: Public Key Algorithm: rsaEncryption Public Key: (1024 bit)
I generated a certificate using the following command
openssl genrsa -out my.key 1024
openssl req -new -key my.key -config -out my.req
openssl ca -out my.crt -infiles my.req
My cert contains Public Key: (1024 bit) and not "RSA Public Key: (1024 bit)"
What needs to be done differently to get the "RSA Public Key: (1024 bit)" in the certificate? My my.key starts with
-----BEGIN RSA PRIVATE KEY-----
so it's a RSA key.