TCP & TLS
TLS Configuration Parameters
The following parameters are available to configure a secure channel connection through TLS:
Key | Description | Default |
---|---|---|
tls | Enable or disable TLS support | Off |
tls.verify | Force certificate validation | On |
tls.debug | Set TLS debug verbosity level. It accept the following values: 0 (No debug), 1 (Error), 2 (State change), 3 (Informational) and 4 Verbose | 1 |
tls.ca_file | Absolute path to CA certificate file | |
tls.crt_file | Absolute path to Certificate file. | |
tls.key_file | Absolute path to private Key file. | |
tls.key_passwd | Optional password for tls.key_file file. |
Start the TCP listener
Run the following in a separate terminal, netcat will start listening for messages on TCP port 5170
No more, no less, it just works.