<div dir="ltr"><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Ruisheng </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 1, 2021 at 8:09 AM Sean Bright <<a href="mailto:sean.bright@gmail.com">sean.bright@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div>
<div>Hi,<br>
<br>
On 1/26/2021 3:12 PM, Ruisheng Peng wrote:<br>
</div>
<blockquote type="cite"><font face="monospace"><span style="font-variant-ligatures:no-common-ligatures">Transport:
transport-tls: cert_file /home/asterisk/certs/</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180,36,25)">asterisk.crt</span><span style="font-variant-ligatures:no-common-ligatures"> is either
missing or not readable</span></font></blockquote>
<br>
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.<br>
<br>
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.<br>
<br>
Kind regards,<br>
Sean<br>
</div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>