GNUTLS_CERTIFICATE_SET_X509_CRL_FILE(3)
π gnutls_certificate_set_x509_crl_file β from the gnutls manual, bestie π
okay so this is a page from the gnutls manual (you know, the TLS library that just works), and it's all about the iconic little function gnutls_certificate_set_x509_crl_file. buckle up, it's giving certificate energy β¨
β¨ NAME β¨
gnutls_certificate_set_x509_crl_file β API function π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
int
gnutls_certificate_set_x509_crl_file(gnutls_certificate_credentials_t
res, const char * crlfile, gnutls_x509_crt_fmt_t type);
π ARGUMENTS π
gnutls_certificate_credentials_t resβ this is agnutls_certificate_credentials_ttype, no cap. it's the credentials thing you're loading stuff into π«Άconst char * crlfileβ a file that's holding the list of verified CRLs (that's a DER or PEM list, iykyk) πgnutls_x509_crt_fmt_t typeβ is itPEMor is itDER? that's the whole question, bestie π
π¦ DESCRIPTION π¦
so what this function does is it adds the trusted CRLs so you can verify client or server certificates. very main character behaviour honestly.
in the case of a client, you don't actually have to call this if the certificates aren't being verified using gnutls_certificate_verify_peers2(). so like, chill, it's optional in that situation π
also, you can call this function multiple times. she's flexible. she doesn't mind. π₯
β RETURNS β
you get back the number of CRLs processed, or a negative error code if something went wrong. that's it, that's the vibe check π
π REPORTING BUGS π
found a bug? not cute. tell the people:
- Report bugs 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. periodt. β¨
π 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!! this was gnutls version 3.8.13 β go forth and verify those certificates, you absolute icon πππ¦
π¦ 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