aboutsummaryrefslogtreecommitdiff
path: root/scripts/testroot.generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/testroot.generate.sh')
-rw-r--r--scripts/testroot.generate.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/testroot.generate.sh b/scripts/testroot.generate.sh
deleted file mode 100644
index cfba7155..00000000
--- a/scripts/testroot.generate.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh -
-# $Id$
-#
-# Generate test root resource certificate for use with testroot.py server.
-
-tempfiles='01.pem testroot.index testroot.index.old testroot.serial testroot.serial.old testroot.index.attr testroot.req'
-
-rm -f $tempfiles
-touch testroot.index
-echo 01 >testroot.serial
-../openssl/openssl/apps/openssl genrsa -out testroot.key 2048
-../openssl/openssl/apps/openssl req -new -config testroot.cnf -key testroot.key -out testroot.req
-../openssl/openssl/apps/openssl ca -batch -out testroot.cer -in testroot.req -extfile testroot.cnf -config testroot.cnf -selfsign
-rm -f $tempfiles