PROPHET/OS

NAME

tlsget: asks a server over TLS 1.3 and shows what comes back

SYNOPSIS

tlsget <address|name> <port> <host> <roots.pem> [path]

DESCRIPTION

Asks a server over TLS 1.3 and shows what comes back. A name instead of an address goes through the resolver first. The chain of the server is held against the roots in roots.pem, and the certificate has to name host.

It offers TLS_AES_256_GCM_SHA384 and TLS_CHACHA20_POLY1305_SHA256, the groups X25519MLKEM768 and X25519, and takes ECDSA over P-256 and P-384 as the server's proof.

Exit 0 when the server answered, 1 when TLS refused it, 2 when nobody was at the address.

EXAMPLE

$ tlsget --help
tlsget <address|name> <port> <host> <roots.pem> [path]
  asks a server over TLS 1.3 and shows what comes back
  a name goes through the resolver first
  exit 0 answered, 1 TLS refused, 2 nobody at the address

SEE ALSO

fetch