I am following the instructions on how to import a certificate with its whole chain into a keystore. The problem I face is that I do not have c_rehash on my system:
user@hostanme$ c_rehash ./certs
-bash: c_rehash: command not found
I have found the -subject_hash option of openssl x509, but I am not sure how to use it to replicate whatever c_rehash does.
How can I hash the certificate directory without the c_rehash command/script?