Actually you might be right, I overlook this two messages,
[Nov 1 12:14:18] ERROR[15226]: rtp_engine.c:2740 ast_rtp_dtls_cfg_parse: dtlscafile file /etc/asterisk/keys/ca.crt does not exist or is not readable
[Nov 1 12:14:18] ERROR[15226]: config_options.c:744 aco_process_var: Error parsing dtls_ca_file=/etc/asterisk/keys/ca.crt at line 35 of
In my previous post I only posted where I saw errors or warnings.
I did not even know you could start asterisk the way you just said. I was used to start with ini.d/…
Console has much more now, too much to copy here,
but I think im getting there …see the following :
== Parsing ‘/etc/asterisk/http.conf’: Found
Bound HTTP server to address 0.0.0.0:0
[Nov 1 13:19:31] ERROR[18190]: tcptls.c:408 __ssl_setup: TLS/SSL error loading cert file. </etc/asterisk/keys/asterisk.pem>
And Im guessing the problem is ownership.
I just it in another post.
What did make a difference was ownership of the keys. It’s not really discussed, but probably most, including myself, generate them as root user. But on my system at least, asterisk runs as user asterisk. So I got that error as it couldn’t access the keys owned by root. After changing ownership to asterisk it works just as the wiki says. Incidentally, I left /etc/asterisk/keys owned as root, it didn’t seem to care about that.
Thanks a lot! you guys are amazing, even you cannot pinpoint the problem you give the best advice what to look at!!!
Running as user 'asterisk’
Running under group 'asterisk’
Connected to Asterisk 15.0.0 currently running on ecoPBX (pid = 19256)
ecoPBX*CLI> http show status
HTTP Server Status:
Prefix:
Server: Asterisk/15.0.0
Server Enabled and Bound to 0.0.0.0:8088