TLS_CONFIG_VERIFY(3)
okay bestie, you're looking at the TLS_CONFIG_VERIFY(3) page from the Library Functions Manual, and it's all about the insecure TLS configuration crew π«Ά. These functions turn off parts of normal cert verification, so please read the warnings β this is not the "set it and forget it" slay-safe zone π
.
β¨ NAME β¨
tls_config_verify, tls_config_insecure_noverifycert, tls_config_insecure_noverifyname, tls_config_insecure_noverifytime β insecure TLS configuration
π¦ SYNOPSIS π¦
okay so the synopsis is giving:
library βlibtlsβ libssl libcrypto #include <tls.h>
and then the actual function besties:
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 πΈ
These functions disable parts of the normal certificate verification process, resulting in insecure configurations. Be very careful when using them. Like, fr fr π.
β οΈ real talk: these are literally the insecure-configuration functions. They disable parts of normal certificate verification, and that is not a vibe you want accidentally shipping.
tls_config_insecure_noverifycert(struct tls_config *config)β disables certificate verification and OCSP validation. she is highkey risky, no cap π.tls_config_insecure_noverifyname(struct tls_config *config)β disables server name verification, and it's client only π§.tls_config_insecure_noverifytime(struct tls_config *config)β disables validity checking of certificates and OCSP validation. time? who is she? πtls_config_verify(struct tls_config *config)β reenables server name and certificate verification. this is the "put the safety rails back on" one, periodt π.
π 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.
tls_config_insecure_noverifycert() and tls_config_insecure_noverifyname() appeared in OpenBSD 5.7 and tls_config_insecure_noverifytime in OpenBSD 5.9.
π AUTHORS π
Joel Sing <jsing@openbsd.org>Ted Unangst <tedu@openbsd.org>
mwah π this lil page is from Debian, dated July 7, 2025, and it's TLS_CONFIG_VERIFY(3). stay safe out there, bestie β and maybe don't disable cert verification unless you literally know what you're doing πβ¨.
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
- Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms