# testssl.sh: check a server’s TLS protocols Check a server’s TLS protocols. ## 1. Run the example [Download the testssl.sh example](https://www.security.run/docs/examples/testssl.zip). Extract it, install `httpx`, set your API URL and token, then run `python client.py`. The client uploads the included inputs, submits the command, and saves the result under `results/RUN_ID`. ## 2. Check the result Read report.json for protocol results from the isolated TLS target. Read the native exit code and cleanup status printed by the client. [Read results and save reports](https://www.security.run/docs/visibility.html) explains the returned files. ## 3. Use your own inputs Edit `example.json` to change the command arguments, requested outputs or deadline. Replace the files under `inputs/` with your own data, keeping the staged paths aligned with the command. The client creates the artifact IDs for you; illustrative IDs shown here must not be copied into a live request. This example selects the isolated `tls-fixture` target. To use a reachable target of your own, change the target arguments or driver and remove `target_profile`. See [Run a check against a target](https://www.security.run/docs/targets.html) for network setup. Qualified version: `3.2.5`. Commands: `testssl`. Inspect `GET /v1/tools/testssl` for the current installed version and readiness. The published snapshot has 1 functional case(s), plus timeout and cancellation checks. These examples demonstrate the native path; other flags and inputs are supported within the tool’s runtime limits. ## Command submitted by the example ```json { "tool": "testssl", "timeout_seconds": 90, "invocation": { "args": [ "--color", "0", "--warnings", "off", "--openssl", "/usr/bin/openssl", "--jsonfile", "report.json", "--protocols", "127.0.0.1:8443" ], "outputs": [ "report.json" ], "success_exit_codes": [ 0, 1 ], "executable": "testssl", "files": [] }, "target_profile": "tls-fixture" } ```