Using OpenSSL from the command line in Linux, is there some way to examine a key (either public or private) to determine the key size?
Using OpenSSL from the command line in Linux, is there some way to examine a key (either public or private) to determine the key size?
The top line of the output will display the key size.
For example:
To view the key size from a certificate:
The first (2048) is the bit length of the key: