other versions
- wheezy 1:1.8.13.1~dfsg1-3+deb7u3
- wheezy-backports 1:11.13.1~dfsg-2~bpo70+1
- jessie 1:11.13.1~dfsg-2+deb8u2
- testing 1:13.14.1~dfsg-2
- unstable 1:13.14.1~dfsg-2
ASTGENKEY(8) | Linux Programmer's Manual | ASTGENKEY(8) |
NAME¶
astgenkey - generates keys for for Asterisk IAX2 RSA authenticationSYNOPSIS¶
astgenkey [ -q ] [ -n ] [ keyname ]DESCRIPTION¶
astgenkey This script generates an RSA private and public key pair in PEM format for use by Asterisk. The private key should be kept a secret, as it can be used to fake your system's identity. Thus by default (without the option -n ) the script will create a passphrase-encrypted copy of your secret key: without entering the passphrase you won't be able to use it.The public key: not secret. Send this to the
other side.
The private key: secret.
show keys
OPTIONS¶
-qRun quietly.
Don't encrypt the private key.
SECURITY¶
The keys are created, using the umask of the user running the command. To create the keys in a secure manner, you should check to ensure that your umask is first set to disallow the private key from being world- readable, such as with the following commands:chown asterisk /var/lib/asterisk/keys/yourname.*
FILES¶
/var/lib/asterisk/keysSEE ALSO¶
asterisk(8), genrsa(1), rsa(1),AUTHOR¶
This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.May 14th, 2005 | Asterisk |