Next: , Previous: , Up: Top  


3 TLSd usage

3.1 Initiating connections

TLSd reads space-separated hosts and services (ports) from its stdin, and initiates connections with those.

3.2 Child processes

When TLSd runs child processes, it sets the following environment variables:

SHA256

Peer’s fingerprint: SHA256 hash of their certificate.

SIDE

Either ‘CLIENT’ or ‘SERVER’, indicates what side of the connection we are on.

A child process can read peer’s messages from stdin, and send messages to a peer by writing them into stdout.