Service Desk (from lrn1986): DEFAULT_TRUST_STORE_FILE relocation
I'm building a MinGW version of GnuTLS, so i'd like to use ca-certificates
trust file at /etc/pki/tls/certs/ca-bundle.crt
instead of the Windows system
certstore. How do i achieve relocatability to ensure that this file is always
correctly found (assuming that /
is the directory where
bin/libgnutls-30.dll
is located)? That is, i'm asking whether anyone has any
best practices and ready advice for this. Obviously, i can hack up the required
code myself (wouldn't be the first time...). Maybe there's some config option
somewhere that allows changing this path at runtime? And yes, i mean the
default certstore, the one that GnuTLS uses for
gnutls_x509_trust_list_add_system_trust().
Or should i use p11kit instead?