aboutsummaryrefslogtreecommitdiffstats
path: root/bin/caservicecontainer/gencsr.sh
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-11-26 18:14:40 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-26 18:14:40 +0000
commit5d26785885a54cfb35d5eed2e78d641b6d28ebd7 (patch)
tree246b71a51090545f15568e6d693771fb957549c9 /bin/caservicecontainer/gencsr.sh
parent0976a6af289d3940ac4b90be09517b31aa03099a (diff)
parentcdeedf52ff5d545fa4d7a1061224e075a3aad1a1 (diff)
Merge "Adding multithreading support to the application"
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 *