/etc/pki/tls/misc/c_info - CentOS Linux 7

This is the default example configuration of c_info provided by OpenSSL. This config file was generated by OpenSSL running on CentOS 7.

It is located under: /etc/pki/tls/misc/c_info

    #!/bin/sh
#
# print the subject
#

for i in $*
do
	n=`openssl x509 -subject -issuer -enddate -noout -in $i`
	echo "$i"
	echo "$n"
	echo "--------"
done

    
  

Config Details

Location
/etc/pki/tls/misc/c_info
Operating system
CentOS Linux 7
Length
12 lines
MD5 checksum
45bbf2e1f1a5a2ff772ac81ecab10729

Usage

Download the raw file with wget or curl

Wget

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

cURL

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