Re: [asterisk-users] Problem setting up ssl connection

2016-10-28 Thread Stefan Tichy
On Fri, Oct 28, 2016 at 02:07:24PM +0200, Jonas Kellens wrote: > I use PHP 5.6.27. > > So I should be looking inside php.ini ? Web search: php self signed certificate fsockopen User contributed notes in [1] or the example in [2] 1) http://php.net/manual/en/function.fsockopen.php 2) http://

Re: [asterisk-users] Problem setting up ssl connection

2016-10-28 Thread Jonas Kellens
On 26-10-16 23:24, Stefan Tichy wrote: On Wed, Oct 26, 2016 at 04:57:15PM +0200, Jonas Kellens wrote: if it is indeed manager.conf that I need to edit then the problem is that I see no param : tlsdontverifyserver=yes A comment copied from sip.conf.sample: "If set to yes, don't verify the server

Re: [asterisk-users] Problem setting up ssl connection

2016-10-26 Thread Stefan Tichy
On Wed, Oct 26, 2016 at 04:57:15PM +0200, Jonas Kellens wrote: > if it is indeed manager.conf that I need to edit then the problem is > that I see no param : tlsdontverifyserver=yes A comment copied from sip.conf.sample: "If set to yes, don't verify the servers certificate when acting as a client.

Re: [asterisk-users] Problem setting up ssl connection

2016-10-26 Thread Jonas Kellens
On 26-10-16 15:03, Dan Jenkins wrote: On Wed, Oct 26, 2016 at 1:46 PM, Jonas Kellens mailto:jonas.kell...@telenet.be>> wrote: Hello I keep getting the following error when trying to connect to the Asterisk server using AMI : $socket = fsockopen("tls://11.22.33.44

Re: [asterisk-users] Problem setting up ssl connection

2016-10-26 Thread Dan Jenkins
On Wed, Oct 26, 2016 at 1:46 PM, Jonas Kellens wrote: > Hello > > > I keep getting the following error when trying to connect to the Asterisk > server using AMI : > > $socket = fsockopen("tls://11.22.33.44","5039", $errno, $errstr, 5); > > Erorr on CLI : > > [Oct 26 14:38:19] ERROR[2992]: tcptls.

[asterisk-users] Problem setting up ssl connection

2016-10-26 Thread Jonas Kellens
Hello I keep getting the following error when trying to connect to the Asterisk server using AMI : $socket = fsockopen("tls://11.22.33.44","5039", $errno, $errstr, 5); Erorr on CLI : [Oct 26 14:38:19] ERROR[2992]: tcptls.c:609 handle_tcptls_connection: Problem setting up ssl connection: er