my requirement is to get thumbprint of the certificate and I am trying to use this
$thumb = openssl_x509_fingerprint($certContent,"RSA-SHA256",false);
$thumb1 = openssl_x509_fingerprint($certContent,"sha256",false);
But the return of the above is not matching with the thumbprint.
when I open the cert and check "Details" --> Thumbprint , it is different than what is returned from above function. when I check here "signature algorithm = sha256RSA" and "signature hash algorithm = sha256"
Please let me know if I am missing something.