# Install tlsx on Windows, macOS and Linux

Collect TLS certificate details, names and misconfigurations from hosts.

tlsx connects to a host over TLS and reads its certificate: the names it covers, the organisation, the issuer, the protocol version and common misconfigurations. The names in a certificate often reveal hosts that nothing else links to.

> tlsx sends traffic to its target. Only use it on systems you own or have written permission to test.

## How to install tlsx

```
ot install tlsx
```

ot downloads tlsx 1.5.0 as a prebuilt binary from [github.com/projectdiscovery/tlsx](https://github.com/projectdiscovery/tlsx/releases) and verifies its SHA-256 checksum before installing it. Nothing has to be compiled.

If you do not have ot yet:

macOS and Linux:

```
curl -fsSL https://otinstaller.com/install.sh | sh
```

Windows (PowerShell):

```
irm https://otinstaller.com/install.ps1 | iex
```

Current version: 0.3.0. Both scripts verify the download against its [SHA-256 checksum](https://otinstaller.com/releases/v0.3.0/checksums.txt) before installing.

## How to use tlsx

Arguments after the tool's name go straight to tlsx.

Print the names in a host's certificate.

```
ot run tlsx -u example.com -san -cn -silent
```

Show the organisation and TLS version for a list of hosts.

```
ot run tlsx -l hosts.txt -so -tv
```

`ot run tlsx --help` lists every option.

An AI agent can run tlsx too: `ot mcp` serves it over the Model Context Protocol, once the server is started with `--allow-active`. See [OSINT with AI agents](https://otinstaller.com/mcp/).

## tlsx licence, platforms and versions

- Project: https://github.com/projectdiscovery/tlsx
- Licence: MIT
- Runs on: Windows, macOS and Linux
- Takes: domain, ip
- Categories: tls, certificates, recon
- Sends traffic to the target: yes
- Release binary: version 1.5.0 from github.com/projectdiscovery/tlsx, verified by SHA-256

## Questions about tlsx

### How do I install tlsx on Windows?

Open PowerShell and install ot with `irm https://otinstaller.com/install.ps1 | iex`. Then run `ot install tlsx`. ot fetches a pinned version of tlsx and keeps it under `~/.ot`, apart from the rest of your system.

### Is tlsx free?

Yes. tlsx is open source, released under the MIT licence. ot, which installs it, is free under the Apache 2.0 licence.

### Do I need Go or a compiler to install tlsx?

No. ot downloads the prebuilt tlsx binary for your platform and checks its SHA-256 checksum. A mismatch installs nothing.

### How do I update or remove tlsx?

`ot update tlsx` moves it to the version pinned in ot's registry, and `ot update tlsx --latest` to the newest upstream release. `ot remove tlsx` uninstalls it.

### Do I need permission to use tlsx?

Yes, for any system that is not your own. tlsx sends traffic to its target, so use it only on systems you own or have written permission to test. ot shows this reminder before the first run, and its MCP server refuses tlsx unless started with `--allow-active`.

## Tools related to tlsx

- [amass](https://otinstaller.com/tools/amass/): In-depth attack surface mapping and subdomain discovery from many data sources.
- [asnmap](https://otinstaller.com/tools/asnmap/): Map an organisation, domain or IP to its ASNs and network ranges.
- [bbot](https://otinstaller.com/tools/bbot/): Recursive OSINT automation: subdomains, emails, web and cloud findings in one run.
- [censys](https://otinstaller.com/tools/censys/): Search Censys for hosts, certificates and subdomains.
- [dnsx](https://otinstaller.com/tools/dnsx/): Fast DNS toolkit for resolving and probing large lists of hostnames.
- [fierce](https://otinstaller.com/tools/fierce/): DNS reconnaissance for locating hosts and non-contiguous IP space of a domain.

More: [Networks and hosts](https://otinstaller.com/osint-tools/networks/).
