diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-12-07 16:42:29 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-12-07 16:42:29 +0000 |
commit | 437f4288cd35705ba0b8b0651fde4ca2c7f441dc (patch) | |
tree | 496d516e3cac578423d0eb17f1676d0379ee897c /configs | |
parent | cb5e37e56cb0ef7e1b2fc109d5c94fe6caf84bd4 (diff) |
- Generalize the function ssl_setup() so that the certificate info
are passed as an argument.
- Update the code in main/http.c to use the new interface
(the diff is large but mostly mechanical, due to the name change of
several variables);
- And since now it is trivial, implement "AMI over TLS", and document
the possible options in manager.conf
- And since the test client (openssl s_client -connect host:port )
does not generate \r\n as a line terminator, make get_input()
also accept just a \n as a line terminator (Mac users: do you
also need the \r-only version ?)
The option parsing in manager.conf is not very efficient, and needs
to be cleaned up and made similar to what we have in http.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/manager.conf.sample | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/manager.conf.sample b/configs/manager.conf.sample index ee1b063da..660ab843e 100644 --- a/configs/manager.conf.sample +++ b/configs/manager.conf.sample @@ -26,6 +26,18 @@ enabled = no port = 5038 ;httptimeout = 60 bindaddr = 0.0.0.0 + +; Parameters that control AMI over TLS. ("enabled" must be set too). +; You can open a connection to this socket with e.g. +; +; openssl s_client -connect my_host:5039 +; +; sslenable=no ; set to YES to enable it +; sslbindport=5039 ; the port to bind to +; sslbindaddr=0.0.0.0 ; address to bind to, default to bindaddr +; sslcert=/tmp/asterisk.pem ; path to the certificate. + + ;displayconnects = yes ; ; Add a Unix epoch timestamp to events (not action responses) |