<p></p>
<p>Being Kamailio specific coding, I added the config option and set it value as parameter to SSL_CTX_load_verify_locations() based on the feature request description, but it might not be complete implementation because its manual specify that the folder content is not send to client via SSL_CTX_set_client_CA_list():</p>
<ul>
<li><a href="https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_load_verify_locations.html" rel="nofollow">https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_load_verify_locations.html</a></li>
</ul>
<p>I haven't tested at all, not having a system that I could easily simulate the scenario. If not complete, feel free to add the missing part related, otherwise, if not useful at all, it can be reverted.</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/kamailio/kamailio/issues/2682#issuecomment-804710128">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMSMGLADFK6K3CMAODTFBFJZANCNFSM4ZLD66AA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKOI4XZKV5OV5GOTBLTFBFJZA5CNFSM4ZLD66AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF73ON4A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2682#issuecomment-804710128",
"url": "https://github.com/kamailio/kamailio/issues/2682#issuecomment-804710128",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>