gnutls_x509_crt_check_issuer(3)
π gnutls_x509_crt_check_issuer β bestie's guide to "who signed this cert" π
okay so this one lives in the gnutls manual, and it's basically the vibes check for certificate parentage. let's get into it π«Ά
β¨ NAME β¨
gnutls_x509_crt_check_issuer β an API function, and no cap, its whole job is figuring out if one cert is the parent of another π
β¨ SYNOPSIS β¨
#include <gnutls/x509.h>
unsigned gnutls_x509_crt_check_issuer(gnutls_x509_crt_t cert,
gnutls_x509_crt_t issuer);
β¨ ARGUMENTS β¨
gnutls_x509_crt_t certβ the certificate you're like "hmm, who made u bestie?" about. this is the one getting checked πgnutls_x509_crt_t issuerβ the certificate of a possible issuer. like, the suspect. the candidate parent. the maybe-mom π
β¨ DESCRIPTION β¨
so here's the tea: this function checks whether the certificate you passed in was actually issued by the issuer you passed in. not vibes-based, it's literally comparing things:
- the DN fields have to match
- the authority key identifier and subject key identifier fields have to match
and here's the cute plot twist πΈ β if you hand it the same certificate in both the cert and issuer slots, it'll check whether that certificate is self-signed. one cert, two roles, main character energy honestly.
β¨ RETURNS β¨
it returns true (1) if the given certificate is issued by the given issuer, and false (0) if it's not. simple as that, periodt β¨
β¨ REPORTING BUGS β¨
found a bug? don't suffer in silence bestie, report it to <bugs@gnutls.org> π§
home page is right here: 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 like, go off, just keep the receipt π§Ύπ
β¨ 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, go visit:
https://www.gnutls.org/manual/
ok that's the whole page, no skips, no crumbs left behind π
and that's a wrap!! this was gnutls_x509_crt_check_issuer(3), page pulled from the gnutls manual, version 3.8.13 π go check those issuers, bestie, and stay iconic πβ¨
π¦ 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