TLS_CONFIG_VERIFY(3)
π TLS_CONFIG_VERIFY(3) β the insecure TLS config era π
okay bestie, so this is the tls_config_verify(3) page from the Library Functions Manual, and it's giving "here be dragons" energy fr fr. Buckle up π
β¨ NAME β¨
tls_config_verify, tls_config_insecure_noverifycert, tls_config_insecure_noverifyname, tls_config_insecure_noverifytime β insecure TLS configuration π
π¦ SYNOPSIS π¦
#include <tls.h>
void
tls_config_verify(struct tls_config *config);
void
tls_config_insecure_noverifycert(struct tls_config *config);
void
tls_config_insecure_noverifyname(struct tls_config *config);
void
tls_config_insecure_noverifytime(struct tls_config *config);
πΈ DESCRIPTION πΈ
So these functions turn OFF parts of the normal certificate verification process, which means the resulting configs are insecure. Like, genuinely. The manpage itself says be very careful when using them, and honestly bestie, listen to the manpage for once π
tls_config_insecure_noverifycert()β turns off certificate verification and OCSP validation. Both. Gone. πtls_config_insecure_noverifyname()β turns off server name verification. This one's client only, iykyk.tls_config_insecure_noverifytime()β turns off validity checking of certificates and OCSP validation. Time is fake, apparently β°tls_config_verify()β the glow-up function β¨ reenables server name verification and certificate verification. We love a redemption arc.
bestie I'm so serious: these disable real security checks. Use them only when you know exactly why, not just because the error message was annoying. π
π SEE ALSO π
tls_client(3), tls_config_ocsp_require_stapling(3), tls_config_set_protocols(3), tls_conn_version(3), tls_connect(3), tls_handshake(3), tls_init(3)
π HISTORY π
tls_config_verify()appeared in OpenBSD 5.6 and got its final name in OpenBSD 5.7. character development π«Άtls_config_insecure_noverifycert()andtls_config_insecure_noverifyname()appeared in OpenBSD 5.7, andtls_config_insecure_noverifytime` showed up in **OpenBSD 5.9.
β AUTHORS β
- Joel Sing
<jsing@openbsd.org> - Ted Unangst
<tedu@openbsd.org>
and that's the whole page, bestie β sending you off with the deets: this one's the Debian build, dated March 2, 2017, filed under TLS_CONFIG_VERIFY(3). mwah π π
π¦ where this page comes from
- alpine 3.22: libretls-doc 3.7.0-r2 Β· ISC AND ( BSD-3-Clause OR MIT )
- alpine 3.24: libretls-doc 3.8.1-r0 Β· ISC AND ( BSD-3-Clause OR MIT )
- arch rolling: libretls 3.8.1-3 Β· ISC AND BSD AND MIT
- debian bookworm: libtls-dev 3.7.0-4
- debian trixie: libtls-dev 3.8.1-2.1+b2
- epel 10: libretls-devel 3.8.1-4.el10_0 Β· ISC AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- epel 9: libretls-devel 3.8.1-1.el9 Β· ISC AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 43: libretls-devel 3.8.1-6.fc43 Β· ISC AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 43: libretls-devel 3.8.1-6.fc43 Β· ISC AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 44: libretls-devel 3.8.1-7.fc44 Β· ISC AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 44: libretls-devel 3.8.1-7.fc44 Β· ISC AND BSD-3-Clause AND MIT AND LicenseRef-Fedora-Public-Domain
- nixos 26.05: libretls 3.8.1
- nixpkgs unstable: libretls 3.8.1
- ubuntu jammy: libtls-dev 3.4.1-2build1
- ubuntu noble: libtls-dev 3.8.1-2.1build2
- ubuntu questing: libtls-dev 3.8.1-2.1build2
- ubuntu resolute: libtls-dev 3.8.1-2.1build3
- ubuntu stonking: libtls-dev 3.8.1-2.1build4
- Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
- Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms