Check-in [c46c2cd501]
Overview
Comment:Added support for outputting NetScaler cert configuration
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | piv
Files: files | file ages | folders
SHA1: c46c2cd501ce6c4ab560907c6e4603c2c7c4f27d
User & Date: rkeene on 2013-08-03 02:19:27
Other Links: branch diff | manifest | tags
Context
2013-08-03
02:20
Updated to create a PKCS#7 bundle check-in: 0a6ef43f4c user: rkeene tags: piv
02:19
Added support for outputting NetScaler cert configuration check-in: c46c2cd501 user: rkeene tags: piv
2013-02-07
23:29
Added script to generate certificate bundles in heirarchy order check-in: 6a49836224 user: rkeene tags: piv
Changes

Modified build/certs/build-tree.sh from [ffb492c540] to [d858228260].

94
95
96
97
98
99
100

101
102
103
			i_shortsubject="$(openssl x509 -in "${i_cert}" -subject -noout | sed 's@.*=@@' | cut -c 1-20)"
			i_normsubject="$(echo "${i_shortsubject}" | sed 's@ @@g' | dd conv=lcase 2>/dev/null)"
			i_filename="federal-${i_normsubject}-${i_idx}.crt"

			echo "cat << \_EOF_ > '${s_filename}'"
			openssl x509 -in "${cert}"
			echo "_EOF_"

			;;
	esac
done







>



94
95
96
97
98
99
100
101
102
103
104
			i_shortsubject="$(openssl x509 -in "${i_cert}" -subject -noout | sed 's@.*=@@' | cut -c 1-20)"
			i_normsubject="$(echo "${i_shortsubject}" | sed 's@ @@g' | dd conv=lcase 2>/dev/null)"
			i_filename="federal-${i_normsubject}-${i_idx}.crt"

			echo "cat << \_EOF_ > '${s_filename}'"
			openssl x509 -in "${cert}"
			echo "_EOF_"
			echo "# NetScaler: link ssl certKey '${s_shortsubject} ${s_idx}' '${i_shortsubject} ${i_idx}'"
			;;
	esac
done