summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/test/resources/pnf/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'csarvalidation/src/test/resources/pnf/README.txt')
-rw-r--r--csarvalidation/src/test/resources/pnf/README.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/csarvalidation/src/test/resources/pnf/README.txt b/csarvalidation/src/test/resources/pnf/README.txt
new file mode 100644
index 0000000..8984d6f
--- /dev/null
+++ b/csarvalidation/src/test/resources/pnf/README.txt
@@ -0,0 +1,6 @@
+How to sign CSAR file
+---------------------
+openssl req -new -nodes -x509 -keyout root-private-key.pem > root.cert
+openssl req -new -nodes -keyout sample-pnf-private-key.pem > sample-pnf-request.pem
+openssl x509 -req -CA root.cert -CAkey root-private-key.pem -CAcreateserial < sample-pnf-request.pem > sample-pnf.cert
+openssl cms -sign -binary -nocerts -outform pem -signer sample-pnf.cert -inkey sample-pnf-private-key.pem < sample-pnf.csar > sample-pnf.cms \ No newline at end of file