{"id":19015142,"url":"https://github.com/adfinis/check-ssl","last_synced_at":"2025-04-23T01:44:02.921Z","repository":{"id":8332727,"uuid":"58024635","full_name":"adfinis/check-ssl","owner":"adfinis","description":"Check the expiration date of your ssl-cert with bash (implemented for Nagios/Icinga)","archived":false,"fork":false,"pushed_at":"2022-06-20T10:13:40.000Z","size":65,"stargazers_count":15,"open_issues_count":0,"forks_count":12,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-17T18:22:55.965Z","etag":null,"topics":["check","icinga","monitoring","nagios"],"latest_commit_sha":null,"homepage":"https://exchange.icinga.org/adfinissygroup/check-ssl","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adfinis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-04T05:15:30.000Z","updated_at":"2023-06-24T11:56:10.000Z","dependencies_parsed_at":"2022-09-01T05:54:15.288Z","dependency_job_id":null,"html_url":"https://github.com/adfinis/check-ssl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adfinis%2Fcheck-ssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adfinis%2Fcheck-ssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adfinis%2Fcheck-ssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adfinis%2Fcheck-ssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adfinis","download_url":"https://codeload.github.com/adfinis/check-ssl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354292,"owners_count":21416749,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["check","icinga","monitoring","nagios"],"created_at":"2024-11-08T19:35:45.825Z","updated_at":"2025-04-23T01:44:02.896Z","avatar_url":"https://github.com/adfinis.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Check the expiration date of your ssl-cert\n![certcheck](pic/certcheck.png?raw=true)\n\n## Fast bash script to see the expiration date of your ssl-cert\n* You need a fast way to check the expiration date of an SSL certificate?\n* You want it to be flexible and adjustable to your own needs?\n* There you go!\n\n## What' s in for you?\n* TLS options like:\n  * smtp\n  * pop3\n  * imap\n  * ftp\n  * xmpp\n  * xmpp-server\n* Simple command line interface\n* Easy integrateable for monitoring e.g a cron service or icinga\n\n## The Script can deal with these options:\n* `-H`\n  * Sets the value for the hostname. e.g adfinis-sygroup.ch\n* `-I`\n  * Sets an optional value for an IP to connect. e.g 127.0.0.1\n* `-p`\n  * Sets the value for the port. e.g 443\n* `-P`\n  * Sets an optional value for an TLS protocol. e.g xmpp.\n  * Automatically gets set for some known port numbers.\n* `-w`\n  * Sets the value for the days before warning. Default is 30\n* `-c`\n  * Sets the value for the days before critical. Default is 5\n* `-l`\n  * Sets an optional label for the host in messages. Default uses /etc/services.\n* `-h`\n\n\n#### Example\n```\n./check_ssl.sh -H adfinis-sygroup.ch -p 443 -w 40\n```\n#### Or\n```\n./check_ssl.sh -H jabber.adfinis-sygroup.ch -p 5222 -P xmpp -w 30 -c 5\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadfinis%2Fcheck-ssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadfinis%2Fcheck-ssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadfinis%2Fcheck-ssl/lists"}