GNUTLS_X509_TRUST_LIST_REMOVE_TRUST_FILE(3)
π NAME π
gnutls_x509_trust_list_remove_trust_file β bestie, it's an API function β¨
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_trust_list_remove_trust_file(gnutls_x509_trust_list_t
list, const char * ca_file, gnutls_x509_crt_fmt_t type);
π ARGUMENTS π
gnutls_x509_trust_list_t listβ the list, babe. the actual trust list we're messing with πconst char * ca_fileβ a file containing a list of CAs πgnutls_x509_crt_fmt_t typeβ the format of the certificates, like what flavor are these certs π
β¨ DESCRIPTION β¨
okay so listen. this function removes the given certificate authorities from the trusted list, and then β when it's needed β it adds them into a block list. like, you're not just ghosting them, you're actively putting them on the no-fly list π« no cap.
and here's the cute part: PKCS 11 URLs are also accepted, instead of files, by this function. so you can hand it a URL instead of a path, slay π«Ά
also go peek at gnutls_x509_trust_list_remove_cas() β it's giving sibling energy π
π RETURNS π
the number of added elements is returned. that's the vibe check result, fr fr π’
π¦ SINCE π¦
3.1.10 β old money, iconic, been here since forever π
π§ REPORTING BUGS π§
found a bug? not me gatekeeping β report it to <bugs@gnutls.org>. π¬
home page: https://www.gnutls.org
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others. π
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. like, go off, spread the word, just keep the receipts π
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
and that's the whole page bestie, no crumbs left π this was gnutls version 3.8.13 β main character energy, always π
β¨ stay trusted, stay un-blocked, mwah π«Ά
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms