<pre><code> /* sets the trusted cas file */
cafile = glbl.GetDfltNetstrmDrvrCAF();
if(cafile == NULL) {
errmsg.LogError(0, RS_RET_CA_CERT_MISSING, "error: ca certificate is not set, cannot "
"continue");
ABORT_FINALIZE(RS_RET_CA_CERT_MISSING);
}
</code></pre>
<p>Although it is a NOT RECOMMENDED case in RFC5425,<br>
<a href="https://tools.ietf.org/html/rfc5425#page-10">https://tools.ietf.org/html/rfc5425#page-10</a></p>
<p>it seems that we have no need to configure the CA file when using TLS module.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rsyslog/rsyslog/issues/1068">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AF75kKbVqC_0C-Bzcos2sz1PB0HIU74Yks5qNfYSgaJpZM4I5Twz">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF75kHOw7bMU8zU2swfoRFQletl0t-9Yks5qNfYSgaJpZM4I5Twz.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/rsyslog/rsyslog/issues/1068"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>