I\'m trying to get the same result as
openssl X509 -in certificate.pem -subject_hash
without using the function directly but instead by extractin