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

Michael Maier m1278468 at mailbox.org
Wed Jan 27 02:15:51 CST 2021


On 26.01.21 at 21:12 Ruisheng Peng wrote:
> Hi,
> 
>   I'm experimenting with Asterisk-16.14.0 on a CentOS7 box, and run into
> problems loading the SSL certificate to establish transport-tls.  Tried
> self-signed certificate generated with ast_tls_cert under contrib/scripts
> and the one issued by Letsencrypt, both would bomb out with a parsing error:
> 
> [Dec  3 15:47:50] ERROR[11233] res_pjsip/config_transport.c: Transport:
> transport-tls: cert_file /home/asterisk/certs/asterisk.crt is either
> missing or not readable

It's missing or not readable! Take care, that the file access rights of
the file and the complete path are ok. Do a strace to verify, if the
file is really loaded at all.


Michael



More information about the asterisk-users mailing list