summaryrefslogtreecommitdiffstats
path: root/bin/caservicecontainer/gencsr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/caservicecontainer/gencsr.sh')
-rwxr-xr-xbin/caservicecontainer/gencsr.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/caservicecontainer/gencsr.sh b/bin/caservicecontainer/gencsr.sh
new file mode 100755
index 0000000..0e09f7b
--- /dev/null
+++ b/bin/caservicecontainer/gencsr.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+thread_count=$1
+openssl req -nodes -sha1 -newkey rsa:2048 -keyout Thread$thread_count.key -out Thread$thread_count.csr -days 365 -subj "/C=US/ST=CA/L=SantaClara/O=ONAP/CN=<name>"
+chmod +x *