aboutsummaryrefslogtreecommitdiffstats
path: root/configs/manager.conf.sample
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-07 16:42:29 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-07 16:42:29 +0000
commitfa3680b8820ff6a3f25663f0a6359074bdbc3ff8 (patch)
tree496d516e3cac578423d0eb17f1676d0379ee897c /configs/manager.conf.sample
parent6e7bc039577c6931e33d53011dcf846a88981910 (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: http://svn.digium.com/svn/asterisk/trunk@48351 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/manager.conf.sample')
-rw-r--r--configs/manager.conf.sample12
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)