From: Chris Sharp Date: Tue, 5 Jan 2016 20:56:43 +0000 (-0500) Subject: adding a script to ease the installation of Network Solutions certs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=acf46b248ddd052acf790b167e9f9a6c87cddc1f;p=contrib%2Fpines.git adding a script to ease the installation of Network Solutions certs --- diff --git a/misc/create-ca_crt.sh b/misc/create-ca_crt.sh new file mode 100755 index 0000000..0f45176 --- /dev/null +++ b/misc/create-ca_crt.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +CA_CRT="ca.crt" +FILES="OV_NetworkSolutionsOVServerCA2.crt OV_USERTrustRSACertificationAuthority.crt AddTrustExternalCARoot.crt" +echo > $CA_CRT +for FILE in "$FILES" +do + sed -i -e '$a\' $FILE + cat $FILE >> $CA_CRT +done +