Re: [asterisk-users] Asterisk 16.14.0 pjsip transport-tls cert parsing error

2021-01-29 Thread Ruisheng Peng
beating around bushes, and finally seem to stomp on something that worked! Simply move the cert file locations from /home/asterisk/certs to /etc/asterisk/keys [root@voip1 asterisk]# ls -l keys total 36 -rw-r-. 1 asterisk asterisk 1212 Jan 29 14:18 asterisk.crt -rw-r-. 1 asterisk

Re: [asterisk-users] Asterisk 16.14.0 pjsip transport-tls cert parsing error

2021-01-29 Thread Ruisheng Peng
Thanks for the detailed explanation Michael. I stop the current asterisk process (started by systemd), and restart it as asterisk: [asterisk@voip1 ~]$ strace -f -o /home/asterisk/strace.log asterisk -fmq -vvv -C /etc/asterisk/asterisk.conf from the log there was no attempt to even open the

Re: [asterisk-users] Asterisk 16.14.0 pjsip transport-tls cert parsing error

2021-01-29 Thread Ruisheng Peng
Thanks Stefan for the pointer. There isn't a /etc/ssl/openssl.cnf on the Centos7 box. There is a /etc/pki/tls/openssl.cnf, but there's no MinProtocol or CipherString defined there. I installed corebot (for Letsencrypt auto renewal) thru snap. The openssl.cnf that comes with snap (under

Re: [asterisk-users] Asterisk 16.14.0 pjsip transport-tls cert parsing error

2021-01-29 Thread Stefan Tichy
On Tue, Jan 26, 2021 at 10:12:22AM -1000, Ruisheng Peng wrote: > The self-sign asterisk.crt: I saved that file in "x.crt". openssl x509 -in x.crt -noout -text RSA Public-Key: (1024 bit) > and Letsencrypt cert.pem: I saved that file in "y.crt". openssl x509 -in y.crt -noout

[asterisk-users] cdr_sqlite3_custom

2021-01-29 Thread basti
Hello, is there an option to log calldate / start in GMT / UTC? CSV has an option usegmtime=yes. Best Regards -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community

Re: [asterisk-users] Asterisk 16.14.0 pjsip transport-tls cert parsing error

2021-01-29 Thread Michael Maier
On 29.01.21 at 06:41 Michael Maier wrote: On 27.01.21 at 22:57 Ruisheng Peng wrote: Thanks Michael for the suggestion!  I've installed strace and assigned one of the endpoints (SOFTPHONE_B) to use transport-tls. Then run strace (as user asterisk): [asterisk@voip1 ~]$ strace asterisk -rx

Re: [asterisk-users] Asterisk 16.14.0 pjsip transport-tls cert parsing error

2021-01-29 Thread Michael Maier
On 27.01.21 at 22:57 Ruisheng Peng wrote: Thanks Michael for the suggestion! I've installed strace and assigned one of the endpoints (SOFTPHONE_B) to use transport-tls. Then run strace (as user asterisk): [asterisk@voip1 ~]$ strace asterisk -rx "module reload res_pjsip.so" You should use