Differences From Artifact [ffb492c540]:
- Executable file build/certs/build-tree.sh — part of check-in [6a49836224] at 2013-02-07 23:29:48 on branch piv — Added script to generate certificate bundles in heirarchy order (user: rkeene, size: 2303) [annotate] [blame] [check-ins using]
To Artifact [d858228260]:
- Executable file build/certs/build-tree.sh — part of check-in [c46c2cd501] at 2013-08-03 02:19:27 on branch piv — Added support for outputting NetScaler cert configuration (user: rkeene, size: 2401) [annotate] [blame] [check-ins using] [more...]
︙ | |||
94 95 96 97 98 99 100 101 102 103 | 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 |