# CertChecker [![Build Status](https://travis-ci.org/xiejiangzhi/cert_checker.svg?branch=master)](https://travis-ci.org/xiejiangzhi/cert_checker) [![Gem Version](https://badge.fury.io/rb/cert_checker.svg)](https://badge.fury.io/rb/cert_checker) A tool to check X509 cert status ## Installation ``` $ gem install cert_checker ``` ## Command Line Usage ``` $ cert_checker cert_checker [-d domain_or_ip] [-f hosts_file] -d host host name, example google.com. more host: -h h1.com -h h2.com -f file hosts file, split hosts by new line, and ignore line whice start by # and empt line ``` ### Examples ``` $ cert_checker -d taobao.com -d xjz.pw -d slack.com -d asdf.com ok taobao.com GlobalSign nv-sa 2019-11-13 344 days (http/1.1) ok xjz.pw Let's Encrypt 2019-02-18 76 days (http/1.1) ok slack.com DigiCert Inc 2021-02-12 714 days (h2) ok asdf.com Let's Encrypt 2019-04-08 38 days (No ALPN) $ cat >> myhosts <