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

Ruisheng Peng rpeng at ifa.hawaii.edu
Mon Feb 1 14:41:05 CST 2021


Thanks Sean for the note.  It does look Selinux might have a hand in the
pot.   I did try with selinux permission set to permissive and it made no
difference though.  Keeping configuration related stuff under /etc/asterisk
seems to help.

--Ruisheng

On Mon, Feb 1, 2021 at 8:09 AM Sean Bright <sean.bright at gmail.com> wrote:

> Hi,
>
> On 1/26/2021 3:12 PM, Ruisheng Peng wrote:
>
> Transport: transport-tls: cert_file /home/asterisk/certs/asterisk.crt is
> either missing or not readable
>
>
> This error means that the file either does not exist or that Asterisk is
> not able to open it for reading. In your case it looks like the file exists
> so the Asterisk process was not able to read the file (this could be
> permissions or SELinux or whatever other reason). It never gets to actually
> trying to parse it as a certificate.
>
> The subsequent message mentioning "at line 24 of" is just a bug in the
> configuration framework, it is not referring to line 24 of the certificate
> file.
>
> Kind regards,
> Sean
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210201/f7b441ba/attachment.html>


More information about the asterisk-users mailing list