Get the default configuration file c_hash for OpenSSL, optimized for Red Hat Enterprise Linux Server 7 (Maipo). This example configuration ensures optimal compatibility and performance for OpenSSL, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/pki/tls/misc/c_hash.
For more configurations and setup guides, visit our related files section to further customize your system.
#!/bin/sh
# print out the hash values
#
for i in $*
do
h=`openssl x509 -hash -noout -in $i`
echo "$h.0 => $i"
done
Download the raw file with wget or curl
wget -O c_hash.example https://exampleconfig.com/static/raw/openssl/rhel7/etc/pki/tls/misc/c_hash
curl https://exampleconfig.com/static/raw/openssl/rhel7/etc/pki/tls/misc/c_hash > c_hash.example
Other config files you might find useful