blob: fbc8bc92c4ea77359f4744a85d5eb975c5bf945a [file] [log] [blame]
Alexander Afanasyev151a8552014-04-11 00:54:43 -07001ndnsec-import
2=============
3
Alexander Afanasyev151a8552014-04-11 00:54:43 -07004Usage
5-----
6
7::
8
Junxiao Shi476200b2017-10-05 12:16:27 +00009 $ ndnsec-import [-h] input
Alexander Afanasyev151a8552014-04-11 00:54:43 -070010
11Description
12-----------
13
Junxiao Shi476200b2017-10-05 12:16:27 +000014``ndnsec-import`` imports a certificate and private key from a file created by ``ndnsec-export``. It
15will ask for the passphrase used to encrypt the private key.
Alexander Afanasyev151a8552014-04-11 00:54:43 -070016
17Options
18-------
19
Junxiao Shi476200b2017-10-05 12:16:27 +000020``-h``
21 Print a help message.
22
23``input``
24 Read from an input file. Specify ``-`` to read from the standard input.
Alexander Afanasyev151a8552014-04-11 00:54:43 -070025
26Examples
27--------
28
Junxiao Shi476200b2017-10-05 12:16:27 +000029Import a certificate and private key from a file:
Alexander Afanasyev151a8552014-04-11 00:54:43 -070030
31::
32
Junxiao Shi476200b2017-10-05 12:16:27 +000033 $ ndnsec-import alice.ndnkey