tlshd(8)
π tlshd β the TLS handshake bestie for kernel sockets π
okay so this page is tlshd(8) from the System Manager's Manual, and she is the girl for making kernel TLS actually happen. let's get into it π«Ά
β¨ NAME β¨
tlshd β TLS handshake for kernel TLS sockets
πΈ SYNOPSIS πΈ
/usr/sbin/tlshd [options]
π¦ DESCRIPTION π¦
so tlshd is this little user agent program, right, and her whole job β her entire personality β is servicing TLS handshake requests on behalf of kernel TLS consumers. like, the kernel needs a handshake done and she's the one who shows up. π
how does she do it? she materializes kernel socket endpoints in user space so she can actually perform TLS handshakes using a standard TLS library. that's the whole trick. she takes the kernel socket, brings it into userspace, does the handshake with a real grown-up TLS library, and thenβ
after each handshake completes, tlshd plants TLS session metadata into the kernel socket so kTLS can be used to secure all the subsequent communication on that socket. then she hands the socket back to the kernel. slay. πβ¨
π OPTIONS π
-cor--configβ when you specify this, it sets the location fortlshd's config file. pick where your config lives, queen.-hor--helpβ when specified,tlshdshows you a help message and then exits immediately. she's helpful and she doesn't overstay. π-sor--stderrβ when specified, this forces messages to go to both stderr and the system log. by default, messages go only to the system log. so if you want that double-dipping message energy, this is the flag.-vor--versionβ when specified,tlshddisplays build version information and then exits immediately. short, sweet, iconic. β
π§ ENVIRONMENT VARIABLES π§
the GnuTLS library brings certain capabilities to the table that you can turn on by setting environment variables before tlshd is started. ngl, more info about these variables lives in the GnuTLS library documentation β that's where the lore is. π
SSLKEYLOGFILEβ when set, this variable specifies the pathname of a file that the GnuTLS library appends negotiated session keys to, in the NSS Key Log format. and bestie, the NSS Key Log format can be read by wireshark, which means you can decrypt recorded sessions. π not me enabling full session decryption, okay, it's for debugging.GNUTLS_FORCE_FIPS_MODEβ when set to1, this variable forces the TLS library into FIPS mode, if FIPS140-2 support is available. no support, no FIPS, that's the deal. π₯
π FILES π
/etc/tlshd/configβ primary configuration file π/etc/tlshd.confβ legacy configuration file (deprecated). deprecated, babes. she's still around but she's giving vintage. π
β‘ SIGNALS β‘
SIGHUPorSIGUSR1β reload the configuration file. debug verbosity and keyring associations get updated without terminating active TLS sessions. and once the reload completes,tlshdjust keeps on polling for netlink messages like nothing happened. unbothered. thriving. β¨SIGINTorSIGTERMβ terminate the daemon cleanly. she leaves the party politely. π
π SEE ALSO π
tls-session-tags(7), tlshd.conf(5), ssl(7)
π AUTHOR π
Chuck Lever
and that's the whole page, bestie!! tlshd(8), System Manager's Manual, dated <b>20 Dec 2021</b>. go forth and handshake π
ππ
π¦ where this page comes from
- fedora 43: ktls-utils 1.4.0-1.fc43 Β· GPL-2.0-only AND (GPL-2.0-only OR BSD-3-Clause)
- fedora 44: ktls-utils 1.4.0-1.fc44 Β· GPL-2.0-only AND (GPL-2.0-only OR BSD-3-Clause)
- Copyright (c) 2022 Oracle and/or its affiliates
- Copyright (c) 2021 Oracle and/or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms