summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2024-02-26 20:58:55 +0100
committerGitHub <noreply@github.com>2024-02-26 20:58:55 +0100
commite554104cecc31e078126e0bfd50f7a3392d63f4a (patch)
tree1ca829d02d7351f54dbc9060083f3d8e9692da36 /docs
parenta659053d185c76d5c0d72272cbda6b9b76e1f6cb (diff)
parente93c4723c7667864867cfbffb74c7239cbee9e6c (diff)
downloadvyos-documentation-e554104cecc31e078126e0bfd50f7a3392d63f4a.tar.gz
vyos-documentation-e554104cecc31e078126e0bfd50f7a3392d63f4a.zip
Merge pull request #1287 from srividya0208/openvpn_pki
Op-mode: Added information about import cert/key files to pki cli format
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/pki/index.rst33
1 files changed, 31 insertions, 2 deletions
diff --git a/docs/configuration/pki/index.rst b/docs/configuration/pki/index.rst
index 1fea13ac..a42e286e 100644
--- a/docs/configuration/pki/index.rst
+++ b/docs/configuration/pki/index.rst
@@ -118,12 +118,12 @@ OpenVPN
.. opcmd:: generate pki openvpn shared-secret
- Genearate a new OpenVPN shared secret. The generated secred is the output to
+ Genearate a new OpenVPN shared secret. The generated secret is the output to
the console.
.. opcmd:: generate pki openvpn shared-secret install <name>
- Genearate a new OpenVPN shared secret. The generated secred is the output to
+ Genearate a new OpenVPN shared secret. The generated secret is the output to
the console.
.. include:: pki_cli_import_help.txt
@@ -248,6 +248,35 @@ certificates used by services on this router.
If CA is present, this certificate will be included in generated CRLs
+Import files to PKI format
+--------------------------
+VyOS provides this utility to import existing certificates/key files directly
+into PKI from op-mode. Previous to VyOS 1.4, certificates were stored under the
+/config folder permanently and will be retained post upgrade.
+
+.. opcmd:: import pki ca <name> file <Path to CA certificate file>
+
+ Import the public CA certificate from the defined file to VyOS CLI.
+
+.. opcmd:: import pki ca <name> key-file <Path to private key file>
+
+ Import the CAs private key portion to the CLI. This should never leave the
+ system as it is used to decrypt the data. The key is required if you use
+ VyOS as your certificate generator.
+
+.. opcmd:: import pki certificate <name> file <path to certificate>
+
+ Import the certificate from the file to VyOS CLI.
+
+.. opcmd:: import pki certificate <name> key-file <path to private key>
+
+ Import the private key of the certificate to the VyOS CLI. This should never
+ leave the system as it is used to decrypt the data.
+
+.. opcmd:: import pki openvpn shared-secret <name> file <path to OpenVPN secret key>
+
+ Import the OpenVPN shared secret stored in file to the VyOS CLI.
+
ACME
^^^^