Skip to content

tschaefer/tls-ping

Repository files navigation

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

gem build
version=$(ruby -Ilib -e 'require "tls/ping"; puts TLS::Ping::VERSION')
gem install tls-ping-${version}.gem

Usage

$ 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.

Usage:
    tls-ping [OPTIONS] HOST PORT

Parameters:
    HOST                     hostname to ping
    PORT                     port to ping

Options:
    -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

Is it any good?

Yes.

About

TLS ping host and port. 🔑

Resources

License

Stars

Watchers

Forks