Debian Codegraph @

debian/astgenkey.8

raw
1 .\" $Header: /aolnet/dev/src/CVS/sgml/docbook-to-man/cmd/docbook-to-man.sh,v 1.1.1.1 1998/11/13 21:31:59 db3l Exp $
2 .\"
3 .\" transcript compatibility for postscript use.
4 .\"
5 .\" synopsis: .P! <file.ps>
6 .\"
7 .de P!
8 .fl
9 \!!1 setgray
10 .fl
11 \\&.\"
12 .fl
13 \!!0 setgray
14 .fl \" force out current output buffer
15 \!!save /psv exch def currentpoint translate 0 0 moveto
16 \!!/showpage{}def
17 .fl \" prolog
18 .sy sed \-e 's/^/!/' \\$1\" bring in postscript file
19 \!!psv restore
20 .
21 .de pF
22 .ie \\*(f1 .ds f1 \\n(.f
23 .el .ie \\*(f2 .ds f2 \\n(.f
24 .el .ie \\*(f3 .ds f3 \\n(.f
25 .el .ie \\*(f4 .ds f4 \\n(.f
26 .el .tm ? font overflow
27 .ft \\$1
28 ..
29 .de fP
30 .ie !\\*(f4 \{\
31 . ft \\*(f4
32 . ds f4\"
33 ' br \}
34 .el .ie !\\*(f3 \{\
35 . ft \\*(f3
36 . ds f3\"
37 ' br \}
38 .el .ie !\\*(f2 \{\
39 . ft \\*(f2
40 . ds f2\"
41 ' br \}
42 .el .ie !\\*(f1 \{\
43 . ft \\*(f1
44 . ds f1\"
45 ' br \}
46 .el .tm ? font underflow
47 ..
48 .ds f1\"
49 .ds f2\"
50 .ds f3\"
51 .ds f4\"
52 '\" t
53 .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
54 .TH ASTGENKEY 8 "May 14th, 2005" "Asterisk" "Linux Programmer's Manual"
55 .SH NAME
56 .B astgenkey
57 -- generates keys for for Asterisk IAX2 RSA authentication
58 .SH SYNOPSIS
59 .PP
60 .B astgenkey
61 [ -q ] [ -n ] [ \fIkeyname\fP ]
62
63 .SH DESCRIPTION
64 .B genzaptelconf
65 This script generates an RSA private and public key pair in PEM format
66 for use by Asterisk. The private key should be kept a secret, as it can
67 be used to fake your system's identity. Thus by default (without the
68 option
69 .I -n
70 ) the script will create a passphrase-encrypted copy of your secret key:
71 without entering the passphrase you won't be able to use it.
72
73 However if you want to use such a key with Asterisk, you'll have to start
74 it interactively, because the scripts that start asterisk can't use that
75 encrypted key.
76
77 The key is identified by a name. If you don't write the name on the
78 command-line you'll be prompted for one. The outputs of the script are:
79
80 .I name\fB.pub
81 .RS
82 The public key: not secret. Send this to the other side.
83 .RE
84
85 .I name\fB.key
86 .RS
87 The private key: secret.
88 .RE
89
90 Those files should be copied to
91 .I /var/lib/asterisk/keys
92
93 (The private key: on your system. The public key: on other systems)
94
95 To see the currently-installed keys from the asterisk CLI, use the command
96
97 .RS
98 show keys
99 .RE
100
101 .SH OPTIONS
102 .B -q
103 .RS
104 Run quietly.
105 .RE
106
107 .B -n
108 .RS
109 Don't encrypt the private key.
110 .RE
111
112 .SH FILES
113 .I /var/lib/asterisk/keys
114 .RS
115 .RE
116
117 .SH "SEE ALSO"
118 asterisk(8), genrsa(1), rsa(1),
119
120 http://www.voip-info.org/wiki-Asterisk+iax+rsa+auth
121
122 .SH "AUTHOR"
123 This manual page was written by Tzafrir Cohen <[email protected]>
124 Permission is granted to copy, distribute and/or modify this document under
125 the terms of the GNU General Public License, Version 2 any
126 later version published by the Free Software Foundation.
127
128 On Debian systems, the complete text of the GNU General Public
129 License can be found in /usr/share/common-licenses/GPL.