{"id":19431089,"url":"https://github.com/jmousqueton/checkcert","last_synced_at":"2026-05-15T17:03:29.533Z","repository":{"id":54351594,"uuid":"522193344","full_name":"JMousqueton/CheckCert","owner":"JMousqueton","description":"🔎🔒 Script for checking SSL certificates expiration date ","archived":false,"fork":false,"pushed_at":"2022-08-09T14:18:41.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T20:15:48.644Z","etag":null,"topics":["bash","bash-script","certificate","check","date","expiration","script","ssl","ssl-certificate","ssl-certificates","x509","x509certificates"],"latest_commit_sha":null,"homepage":"","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/JMousqueton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2022-08-07T11:25:31.000Z","updated_at":"2023-04-13T19:09:44.000Z","dependencies_parsed_at":"2022-08-13T13:00:49.938Z","dependency_job_id":null,"html_url":"https://github.com/JMousqueton/CheckCert","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/JMousqueton%2FCheckCert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMousqueton%2FCheckCert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMousqueton%2FCheckCert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMousqueton%2FCheckCert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JMousqueton","download_url":"https://codeload.github.com/JMousqueton/CheckCert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240612533,"owners_count":19829027,"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":["bash","bash-script","certificate","check","date","expiration","script","ssl","ssl-certificate","ssl-certificates","x509","x509certificates"],"created_at":"2024-11-10T14:28:13.069Z","updated_at":"2026-05-15T17:03:24.500Z","avatar_url":"https://github.com/JMousqueton.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 🔎🔒 Check Certificat \n\nScript to check x.509 certificat of website using openssl \n\n[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-yellow.svg)](LICENSE)  [![Twitter: JMousqueton](https://img.shields.io/twitter/follow/JMousqueton.svg?style=social)](https://twitter.com/JMousqueton)\n\n## 📖 Documentation\n\n### Script options \n```\n-d \u003cdomain\u003e     Domain name (Mandatory).\n-h              Print this Help.\n-D \u003c99\u003e         Number of days (by default 7 days).\n-p \u003c443\u003e        Port (by default 443).\n-v              Verbose error message on stderr\n```\n### return error code \n| Error Code | Description |\n|---|---|\n| 0 | Not expired |\n| 1 | Expired or will expired within 7 days by default |\n| 3 | Openssl not installed  |\n| 22 | No domain specified or invalid options |\n| 101 | Domain doesn't respond   |\n\n## 💻 Usage/Examples\n\n```\n$ ./checkcert.sh -d www.julien.io -p 443 -D 15 -v\n✔ www.julien.io won't expired within 15 days.\n\n$ ./checkcert.sh -d expired.badssl.com -p 443 -D 90 -v\n❌ expired.badssl.com has been expired or will expire within 90 days.\n```\n\n## 🗺 Roadmap\n\n| Status | Description |\n|---|---|\n| ✅ |~~Add \"Standard\" Linux error code~~|\n| ✅ |~~Disable SSL check on curl for website testing~~|\n\n#### Légende\n\n| Status | Description |\n|---|---|\n| ✅ | Done |\n| 🛠 | In progress  |\n| 🟢 | Low priority | \n| 🟡 | Medium priority |\n| 🔴 | High Priority |\n\n\n## 👤 Authors\n\n**Julien Mousqueton**\n\n* Website: \u003chttps://julien.io\u003e\n* LinkedIn: [Julien Mousqueton](https://linkedin.com/in/julienmousqueton)\n* Twitter: [@JMousqueton](https://twitter.com/JMousqueton)\n* Github: [@JMousqueton](https://github.com/JMousqueton)\n\n## 📜 License\n\n* [GNU 3.0](LICENSE)\n\n## ✌🏻 Acknowledgements\n\n* Ecole 2600 students for the support while coding a sunday evening :) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmousqueton%2Fcheckcert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmousqueton%2Fcheckcert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmousqueton%2Fcheckcert/lists"}