9srv Manual Collection/plan9/tlssrv(8) | 9srv Manual Collection/plan9/tlssrv(8) |
---|
tlsclient [ -t trustedkeys ] [ -x excludedkeys ] address
tlssrvtunnel plain-addr crypt-addr cert.pem
tlsclienttunnel crypt-addr plain-addr trustedkeys
Tlsclient is the reverse of tlssrv: it dials address, starts TLS, and then relays between the network connection and standard input and output. If the -t flag (and, optionally, the -x flag) is given, the remote server must present a key whose SHA1 hash is listed in the file trustedkeys but not in the file excludedkeys. See thumbprint(6) for more information.
Tlssrvtunnel and tlsclienttunnel use these tools and listen1 (see listen(8)) to provide TLS network tunnels, allowing legacy application to take advantage of TLS encryption.
Interact with the server, putting the appropriate hash into /sys/lib/tls/mail and running:
Create a TLS-encrypted VNC connection from a client on kremvax to a server on moscvax:
(The port numbers passed to the VNC tools are offset by 5900 from the actual TCP port numbers.)
9srv Manual Collection/plan9/tlssrv(8) | Rev: Sun Dec 02 23:42:28 GMT 2007 |