From ee1f0741561484298eba353969ce67d89ef98220 Mon Sep 17 00:00:00 2001 From: thmsdt Date: Tue, 4 Jul 2023 09:28:47 +0200 Subject: fix doc config files Issue-ID: DOC-811 Signed-off-by: thmsdt Change-Id: I1102b3fe581ff37859eb09259c33955b44f94283 --- docs/files/csar-validation.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/files/csar-validation.rst') diff --git a/docs/files/csar-validation.rst b/docs/files/csar-validation.rst index 458dab2..4224218 100644 --- a/docs/files/csar-validation.rst +++ b/docs/files/csar-validation.rst @@ -59,9 +59,11 @@ Generate certificates openssl req -nodes -x509 -sha256 -newkey rsa:4096 -keyout "pnf.key" -out "pnf.cert" -days 365 -subj "/C=NL/ST=Zuid Holland/L=Rotterdam/O=Sparkling Network/OU=IT Dept/CN=$(whoami)s Sign Key" Sign csar file with the private key -------------------------------- +----------------------------------- + openssl dgst -sha256 -sign "pnf.key" -out pnf.sha256.cms pnf.csar Verify signature ---------------- + openssl dgst -sha256 -verify <(openssl x509 -in "pnf.cert" -pubkey -noout) -signature pnf.sha256.cms pnf.csar -- cgit 1.2.3-korg