I am aware that I can get the fingerprint of an x509 certificate by typing
openssl x509 -in certificate.crt -noout -fingerprint
But if I try to get the fingerprint of a CSR (openssl req -in certrequest.csr -fingerprint
) I get
req: Unrecognized flag fingerprint
As I understand it, the fingerprint is of the key used, so I ought to be able to get it from a .csr file. How can I do that, besides creating a custom script? Or have I misunderstood some key concept?