pki: remove invalid character from shell command

This commit is contained in:
Christian Poessinger 2021-09-08 13:11:44 +02:00 committed by GitHub
parent 427bdf04c1
commit 52f64090f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,7 +178,7 @@ CA (Certificate Authority)
Also, the certificate/key needs to be presented in a single line without Also, the certificate/key needs to be presented in a single line without
line breaks (``\n``), this can be done using the following shell command: line breaks (``\n``), this can be done using the following shell command:
``$ tail -n +2 ca.pem | head -n -1 | tr -d '\n'H`` ``$ tail -n +2 ca.pem | head -n -1 | tr -d '\n'``
.. cfgcmd:: set pki ca <name> crl .. cfgcmd:: set pki ca <name> crl
@ -199,7 +199,7 @@ CA (Certificate Authority)
certificate/key needs to be presented in a single line without line certificate/key needs to be presented in a single line without line
breaks (``\n``), this can be done using the following shell command: breaks (``\n``), this can be done using the following shell command:
``$ tail -n +2 ca.key | head -n -1 | tr -d '\n'H`` ``$ tail -n +2 ca.key | head -n -1 | tr -d '\n'``
.. cfgcmd:: set pki ca <name> private password-protected .. cfgcmd:: set pki ca <name> private password-protected
@ -221,7 +221,7 @@ certificates used by services on this router.
Also, the certificate/key needs to be presented in a single line without Also, the certificate/key needs to be presented in a single line without
line breaks (``\n``), this can be done using the following shell command: line breaks (``\n``), this can be done using the following shell command:
``$ tail -n +2 cert.pem | head -n -1 | tr -d '\n'H`` ``$ tail -n +2 cert.pem | head -n -1 | tr -d '\n'``
.. cfgcmd:: set pki certificate <name> description .. cfgcmd:: set pki certificate <name> description
@ -237,7 +237,7 @@ certificates used by services on this router.
certificate/key needs to be presented in a single line without line certificate/key needs to be presented in a single line without line
breaks (``\n``), this can be done using the following shell command: breaks (``\n``), this can be done using the following shell command:
``$ tail -n +2 cert.key | head -n -1 | tr -d '\n'H`` ``$ tail -n +2 cert.key | head -n -1 | tr -d '\n'``
.. cfgcmd:: set pki certificate <name> private password-protected .. cfgcmd:: set pki certificate <name> private password-protected