https://github.com/tschaefer/tls-ping
TLS ping host and port. :key:
https://github.com/tschaefer/tls-ping
Last synced: 3 months ago
JSON representation
TLS ping host and port. :key:
- Host: GitHub
- URL: https://github.com/tschaefer/tls-ping
- Owner: tschaefer
- License: mit
- Created: 2024-04-28T08:36:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T17:47:05.000Z (4 months ago)
- Last Synced: 2025-01-27T18:42:26.504Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tls-ping
TLS ping host and port.
## Introduction
**tls-ping** connects to a given host and port and validates the TLS connection
and certificate.## Installation
```bash
gem build
version=$(ruby -Ilib -e 'require "tls/ping"; puts TLS::Ping::VERSION')
gem install tls-ping-${version}.gem
```## Usage
```bash
$ tls-ping github.com 443
> github.com:443
[ OK ] /CN=github.com
```For further information about the command line tool `tls-ping` see the following
help output.```bash
Usage:
tls-ping [OPTIONS] HOST PORTParameters:
HOST hostname to ping
PORT port to pingOptions:
-s, --starttls use STARTTLS
-t, --timeout SECONDS timeout in seconds (default: 5)
-q, --quiet suppress output
-h, --help print help
-m, --man show manpage
-v, --version show version
```## License
[MIT License](https://spdx.org/licenses/MIT.html)
## Is it any good?
[Yes.](https://news.ycombinator.com/item?id=3067434)