summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/test/resources/pnf/README.txt
blob: 8984d6f051157a26b75c975ae3d2ecf209ecdcf8 (plain)
1
2
3
4
5
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