Skip to content

Commit

Permalink
Merge branch '4205286-update-cert-info' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
cumulusAnia committed Dec 11, 2024
2 parents fa9ed05 + 753aa59 commit 8522cce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,13 @@ You must provide a certificate ID (`<cert-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 (`"""<public-key>"""`).
- With the REST API, you must enclose the public key with one double quote (`"<public-key>"`).
{{%/notice%}}

```
cumulus@switch:~$ nv action import system security ca-certificate tls-cert-1 passphrase mypassphrase data "<public-key>" 
cumulus@switch:~$ nv action import system security ca-certificate tls-cert-1 passphrase mypassphrase data """<public-key>""" 
```

The following example imports an entity certificate bundle and calls the certificate `tls-cert-1`. The certificate bundle is passphrase protected with `mypassphrase`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ You must provide a certificate ID (`<cert-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 (`"""<public-key>"""`).
- You must enclose the public key in the NVUE command with three double quotes (`"""<public-key>"""`).
- With the REST API, you must enclose the public key with double quotes (`"<public-key>"`).
{{%/notice%}}

Expand Down

0 comments on commit 8522cce

Please sign in to comment.