Skip to content

TLS ping host and port. πŸ”‘

License

Notifications You must be signed in to change notification settings

tschaefer/tls-ping

Folders and files

NameName
Last commit message
Last commit date
Jan 27, 2025
Apr 28, 2024
Aug 17, 2024
Aug 17, 2024
Apr 28, 2024
Apr 28, 2024
Apr 28, 2024
Apr 28, 2024
Apr 28, 2024
May 20, 2024
Apr 28, 2024
Apr 28, 2024
Apr 28, 2024
Apr 28, 2024
Apr 28, 2024

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.