[asterisk-bugs] [JIRA] (ASTERISK-27245) Access to AMI always raise a tls exception even if tls is disable

Fabio Masini (JIRA) noreply at issues.asterisk.org
Sat Sep 2 10:24:08 CDT 2017


Fabio Masini created ASTERISK-27245:
---------------------------------------

             Summary: Access to AMI always raise a tls exception even if tls is disable
                 Key: ASTERISK-27245
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27245
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 13.9.1
         Environment: LEDE 17.01.2
            Reporter: Fabio Masini


Trying to access the manager with a simple telnet command:

```
telnet 192.168.10.26 5038
```
results in:

```
Trying 192.168.10.26...
Connected to 192.168.10.26.
Escape character is '^]'.
Connection closed by foreign host.
```

and in the asterisk console this warning (verbosity is vvv):

```
tcptls.c:684 handle_tcptls_connection: FILE * open failed!
```
The error message is really, really, really cryptic, and the manager page is not working. I'm not enabling tls in manager, this is my conf:

```
[general]
enabled = yes
webenabled = yes

port = 5038
bindaddr = 0.0.0.0

[admin]
secret = ****
permit=0.0.0.0/0.0.0.0

read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,agent,user,config,command,reporting,originate,message
```



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list