OpenSSL c_hash configuration example for CentOS Linux 7

Get the default configuration file c_hash for OpenSSL, optimized for CentOS Linux 7. 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

    
  

Config Details

Location
/etc/pki/tls/misc/c_hash
Operating system
CentOS Linux 7
Length
9 lines
MD5 checksum
11612e0bac6e19e1bb35d038e691b72c

Usage

Download the raw file with wget or curl

Wget

wget -O c_hash.example https://exampleconfig.com/static/raw/openssl/centos7/etc/pki/tls/misc/c_hash

cURL

curl https://exampleconfig.com/static/raw/openssl/centos7/etc/pki/tls/misc/c_hash > c_hash.example