---
name: "tls-python2"
section: "1"
platform: "linux"
package: "python-tlslite-ng"
version: "0.7.5-2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/tls-python2"
---

# tls-python2(1)

run test servers and clients

## NAME

**tls-python2 - run test servers and clients**

## SYNOPSIS

```
tls-python2 server [-k KEY] [-c CERT] [-t TACK] [-v VERIFIERDB] [-d DIR] [--reqcert] HOST:PORT
tls-python2 client [-k KEY] [-c CERT] [-u USER] [-p PASS] HOST:PORT
```

## USAGE EXAMPLE

**$ tls-python2** *server* **-k serverX509Key.pem -c serverX509Cert.pem localhost:4443**

**$ tls-python2** *client* **localhost:4443**

## DESCRIPTION

**tls-python2 lets you run test clients and servers. It can be used for testing other** **TLS implementations, or as example code. Note that tls.py** *server* **runs an HTTPS** *server* **which will serve files rooted at the current directory by default, so be careful.**

## SEE ALSO

**[tlsdb-python2(1)](/tlsdb-python2/1.md)**

## AUTHORS

**tlslite-ng is developed by Hubert Kario \<hkario@redhat.com\>**
