adding a script to ease the installation of Network Solutions certs
authorChris Sharp <csharp@georgialibraries.org>
Tue, 5 Jan 2016 20:56:43 +0000 (15:56 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 5 Jan 2016 20:56:43 +0000 (15:56 -0500)
misc/create-ca_crt.sh [new file with mode: 0755]

diff --git a/misc/create-ca_crt.sh b/misc/create-ca_crt.sh
new file mode 100755 (executable)
index 0000000..0f45176
--- /dev/null
@@ -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
+