gnutls_certifi...ver_set_request(3)
π gnutls_certificate_server_set_request β the girlies' guide β¨
okay so bestie, we're in the gnutls manual today (yes, that gnutls β the TLS library that's literally carrying half the internet on its back π
) and today's main character is gnutls_certificate_server_set_request. buckle up π
πΈ NAME πΈ
gnutls_certificate_server_set_request β API function π
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
void gnutls_certificate_server_set_request(gnutls_session_t session,
gnutls_certificate_request_t req);
that's it. that's the whole vibe. one include, one function, zero drama π¦
π«Ά ARGUMENTS π«Ά
gnutls_session_t sessionβ bestie this is, and I quote, "agnutls_session_ttype." iconic of it. it's your session, your girl, your whole situation πgnutls_certificate_request_t reqβ and this one has to be one ofGNUTLS_CERT_REQUEST,GNUTLS_CERT_REQUIRE, orGNUTLS_CERT_IGNORE. pick your fighter, no in-between π
π DESCRIPTION π
so here's the tea: this function decides whether we β and by "we" I mean you, if you're the server β are gonna send a certificate request message over to the client. π¨
if req is GNUTLS_CERT_REQUIRE, then the server will straight up return the GNUTLS_E_NO_CERTIFICATE_FOUND error if the peer doesn't hand over a certificate. no cert? no entry. periodt. π€
and if you just... don't call this function at all? then the client won't even be asked to send a certificate. it's giving "silence is also an answer." π
and listen β calling the function with req set to GNUTLS_CERT_IGNORE does exactly the same thing. same effect, same energy, no notes. lowkey wild but that's the lore fr fr π
π REPORTING BUGS π
found a bug? spill it to <bugs@gnutls.org> β they want to know, I promise π«Ά
home page, for your scrolling pleasure: 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. so yes bestie, you may in fact share it, slay, redistribute it, it's all good π
π SEE ALSO π
the full documentation for gnutls lives in a Texinfo manual β that's the whole encyclopedia, not just this page π
if the /usr/share/doc/gnutls/ directory does not have the HTML form in it, then head on over and visit:
https://www.gnutls.org/manual/
go forth, read, be educated, be iconic π§
ngl if you're still here, you're a real one. go set your certificate requests, bestie, you got this π
and that's a wrap!! this page came to you from gnutls version 3.8.13, gnutls_certificate_server_set_request(3), and honestly? she ate. 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