OnWorks favicon

check_ssl_cert - Online in the Cloud

Run check_ssl_cert in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command check_ssl_cert that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



check_ssl_cert - checks the validity of X.509 certificates


check_ssl_cert -H host [OPTIONS]


check_ssl_cert A Nagios plugin to check an X.509 certificate:
- checks if the server is running and delivers a valid certificate
- checks if the CA matches a given pattern
- checks the validity


-H,--host host


ignore authority warnings (expiration only)

matches the pattern specified in -n with alternate names too

-C,--clientcert path
use client certificate to authenticate

--clientpass phrase
set passphrase for client certificate.

-c,--critical days
minimum number of days a certificate has to be valid to issue a critical status

-e,--email address
pattern to match the email address contained in the certificate

-f,--file file
local file path (works with -H localhost only)

this help message

--long-output list
append the specified comma separated (no spaces) list of attributes to the plugin
output on additional lines. Valid attributes are: enddate, startdate, subject,
issuer, modulus, serial, hash, email, ocsp_uri and fingerprint. 'all' will include
all the available attributes.

-i,--issuer issuer
pattern to match the issuer of the certificate

-n,---cn name
pattern to match the CN of the certificate

match CN with the host name

--ocsp check revocation via OCSP

-o,--org org
pattern to match the organization of the certificate

--openssl path
path of the openssl binary to be used

-p,--port port
TCP port

-P,--protocol protocol
use the specific protocol: http (default) or smtp,pop3,imap,ftp (switch to TLS)

allows self-signed certificates

-S,--ssl version
force SSL version (2,3)

-r,--rootcert cert
root certificate or directory to be used for certficate validation (passed to
openssl's -CAfile or -CApath)

seconds timeout after the specified time (defaults to 15 seconds)

--temp dir
directory where to store the temporary files

--tls1 force TLS version 1

verbose output


-w,--warning days
minimum number of days a certificate has to be valid to issue a warning status


-d,--days days
minimum number of days a certificate has to be valid (see --critical and --warning)

Use check_ssl_cert online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Zabbix is an enterprise-class open
    source distributed monitoring solution
    designed to monitor and track
    performance and availability of network
    servers, device...
    Download Zabbix
  • 2
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    Download KDiff3
  • 3
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 4
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 5
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 6
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • More »

Linux commands