From 62de93f5d06184b73c8ac7208179396b10334f71 Mon Sep 17 00:00:00 2001 From: cumulusAnia Date: Wed, 11 Dec 2024 11:32:12 +0000 Subject: [PATCH 1/3] triple and double quotes for public key --- .../NVIDIA-User-Experience-NVUE/NVUE-API.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md b/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md index 2b676fca86..4c3e6d3b84 100644 --- a/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md +++ b/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md @@ -77,8 +77,13 @@ You must provide a certificate ID (``) to uniquely identify the certifi The following example imports a CA certificate with a public key and calls the certificate `tls-cert-1`. The certificate is passphrase protected with `mypassphrase`. The public key is a Base64 ASCII encoded PEM string. +{{%notice note%}} +- You must enclose the public key in the NVUE command with three quotes (""""""). +- With the REST API, you must enclose the public key with double quotes (""""). +{{%/notice%}} + ``` -cumulus@switch:~$ nv action import system security ca-certificate tls-cert-1 passphrase mypassphrase data ""  +cumulus@switch:~$ nv action import system security ca-certificate tls-cert-1 passphrase mypassphrase data """"""  ``` The following example imports an entity certificate bundle and calls the certificate `tls-cert-1`. The certificate bundle is passphrase protected with `mypassphrase`. From 22e662e14e673ef169b9e2395e198f0ea91664a8 Mon Sep 17 00:00:00 2001 From: cumulusAnia Date: Wed, 11 Dec 2024 16:56:49 +0000 Subject: [PATCH 2/3] fix format --- .../NVIDIA-User-Experience-NVUE/NVUE-API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md b/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md index 4c3e6d3b84..8bb8bb7f33 100644 --- a/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md +++ b/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md @@ -78,8 +78,8 @@ You must provide a certificate ID (``) to uniquely identify the certifi The following example imports a CA certificate with a public key and calls the certificate `tls-cert-1`. The certificate is passphrase protected with `mypassphrase`. The public key is a Base64 ASCII encoded PEM string. {{%notice note%}} -- You must enclose the public key in the NVUE command with three quotes (""""""). -- With the REST API, you must enclose the public key with double quotes (""""). +- You must enclose the public key in the NVUE command with three quotes (`""""""`). +- With the REST API, you must enclose the public key with double quotes (`""""`). {{%/notice%}} ``` From c2728f5e7ea11f61542d4a9b9d5de4d7e5ae2d99 Mon Sep 17 00:00:00 2001 From: cumulusAnia Date: Wed, 11 Dec 2024 17:59:11 +0000 Subject: [PATCH 3/3] update quotes for public key note --- .../NVIDIA-User-Experience-NVUE/NVUE-API.md | 7 ++++++- .../NVIDIA-User-Experience-NVUE/NVUE-API.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/content/cumulus-linux-511/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md b/content/cumulus-linux-511/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md index 2b676fca86..4af6955ddf 100644 --- a/content/cumulus-linux-511/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md +++ b/content/cumulus-linux-511/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md @@ -77,8 +77,13 @@ You must provide a certificate ID (``) to uniquely identify the certifi The following example imports a CA certificate with a public key and calls the certificate `tls-cert-1`. The certificate is passphrase protected with `mypassphrase`. The public key is a Base64 ASCII encoded PEM string. +{{%notice note%}} +- You must enclose the public key in the NVUE command with three double quotes (`""""""`). +- With the REST API, you must enclose the public key with one double quote (`""`). +{{%/notice%}} + ``` -cumulus@switch:~$ nv action import system security ca-certificate tls-cert-1 passphrase mypassphrase data ""  +cumulus@switch:~$ nv action import system security ca-certificate tls-cert-1 passphrase mypassphrase data """"""  ``` The following example imports an entity certificate bundle and calls the certificate `tls-cert-1`. The certificate bundle is passphrase protected with `mypassphrase`. diff --git a/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md b/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md index 8bb8bb7f33..def87f8f09 100644 --- a/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md +++ b/content/cumulus-linux-512/System-Configuration/NVIDIA-User-Experience-NVUE/NVUE-API.md @@ -79,7 +79,7 @@ The following example imports a CA certificate with a public key and calls the c {{%notice note%}} - You must enclose the public key in the NVUE command with three quotes (`""""""`). -- With the REST API, you must enclose the public key with double quotes (`""""`). +- With the REST API, you must enclose the public key with double quotes (`""`). {{%/notice%}} ```