SuperScript::Software::ucspi-ssl

The sslserver program


Interface

  sslserver opts host port prog
where opts is a series of getopt-style options, host is a host name or IP address, port is a TCP port, and prog is one or more arguments specifying a program to run for each accepted connection.

sslserver listens for connections from TCP clients. For each connection, it runs prog, with file descriptor 0 reading from, and file descriptor 1 writing to a child process ssl. The ssl process attempts an SSL accept via the network. If it succeeds, it translates data between prog and the network, performing any necessary SSL encoding and decoding.

Before running prog, sslserver sets certain environment variables.

sslserver exits when it receives SIGTERM.

Options

General Options:

Connection options:

Data-gathering options:

SSL options: