Get the default configuration file c_info for OpenSSL, optimized for CentOS Linux 6. 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_info.
For more configurations and setup guides, visit our related files section to further customize your system.
#!/bin/sh
#
# print the subject
#
for i in $*
do
n=`openssl x509 -subject -issuer -enddate -noout -in $i`
echo "$i"
echo "$n"
echo "--------"
done
Download the raw file with wget or curl
wget -O c_info.example https://exampleconfig.com/static/raw/openssl/centos6/etc/pki/tls/misc/c_info
curl https://exampleconfig.com/static/raw/openssl/centos6/etc/pki/tls/misc/c_info > c_info.example
Other config files you might find useful