<p></p>
<blockquote>
<p>This is what I would doubt. Do you have any reference on this? The pasted link is just the code but I could not find any hint about included certificates. So I would assume "glib-networking" needs external certificate resources as well (which is totally fine IMO).</p>
</blockquote>
<p>If you use the default GTlsDatabase, then you'll get the GnuTLS default trust store, which on Windows will be the Windows trust store. <a href="https://gitlab.com/gnutls/gnutls/-/blob/master/lib/system/certs.c" rel="nofollow">The code for this is here.</a></p>
<p>Of course, you can always write your own GTlsDatabase if you want to do so, but that's only needed for unusual cases.</p>
<blockquote>
<p>Anyway, for the Windows part: we ship the certificates from the "ca-certificates" package in the G-P Windows installer, for the UpdateChecker plugin but can be used here as well <a href="https://github.com/geany/geany-plugins/commit/60116231db908cbf3666d1df114f5859a63592e3">6011623</a></p>
</blockquote>
<p>Hm, I'm pretty sure GnuTLS is not going to use your ca-certificates trust store at all, not unless you configure it to do so when building GnuTLS. By default, it would prefer the Windows trust instead. You can force it to do what you want using the --with-default-trust-store configure flag when building GnuTLS.</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/geany/geany-plugins/issues/1078#issuecomment-862012342">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZHJPQ4UAGRX6CE23LTTAMAVANCNFSM45PTM2BQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3GKFXOAJZNMP2FFATTTAMAVA5CNFSM45PTM2B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGNQUHNQ.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/geany/geany-plugins/issues/1078#issuecomment-862012342",
"url": "https://github.com/geany/geany-plugins/issues/1078#issuecomment-862012342",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>