{"id":36577398,"url":"https://github.com/223n/certcheck","last_synced_at":"2026-01-12T07:37:36.181Z","repository":{"id":64307317,"uuid":"152352575","full_name":"223n/certcheck","owner":"223n","description":"Check deadline of certificate","archived":false,"fork":false,"pushed_at":"2019-03-01T11:32:26.000Z","size":37,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T14:03:14.150Z","etag":null,"topics":["cert","certcheck","checker","golang","slack"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/223n.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":null,"support":null}},"created_at":"2018-10-10T02:41:26.000Z","updated_at":"2024-06-20T14:03:14.151Z","dependencies_parsed_at":"2023-01-15T11:00:55.977Z","dependency_job_id":null,"html_url":"https://github.com/223n/certcheck","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/223n/certcheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/223n%2Fcertcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/223n%2Fcertcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/223n%2Fcertcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/223n%2Fcertcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/223n","download_url":"https://codeload.github.com/223n/certcheck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/223n%2Fcertcheck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cert","certcheck","checker","golang","slack"],"created_at":"2026-01-12T07:37:34.508Z","updated_at":"2026-01-12T07:37:36.175Z","avatar_url":"https://github.com/223n.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# certcheck\r\n\r\n[![GitHub](https://img.shields.io/badge/license-Apache%20Version%202.0-blue.svg)](LICENSE)\r\n[![Build status](https://ci.appveyor.com/api/projects/status/l0eca8g8n600u4a1/branch/master?svg=true)](https://ci.appveyor.com/project/223n/certcheck/branch/master)\r\n\r\n## なにするもの？\r\n\r\n1. 証明書の有効期限を確認します。\r\n2. 残日数が指定された日数以下の場合には、Slackに通知します。\r\n\r\n## 使い方\r\n\r\n### インストール\r\n\r\n  [releases](https://github.com/223n/certcheck/releases)から、実行ファイルをダウンロードします。\r\n\r\n### 設定ファイルの作成\r\n\r\n  ダウンロードした実行ファイルと同じディレクトリに、\r\n  設定ファイルを作成、配置します。\r\n\r\n### 起動\r\n\r\n  実行ファイルを起動します。\r\n\r\n  実行ログには、実行結果が出力されます。\r\n\r\n  また、残日数が指定日数より少ない場合には、Slackに通知されます。\r\n\r\n#### 引数\r\n\r\n| 引数名 | 説明 | 例 |\r\n| :-: | --- | --- |\r\n| c | 設定ファイルを指定することができます。 | certcheck -c=\"config.yml\" |\r\n| v | バージョン情報を出力します。 | certcheck -v |\r\n\r\n## 設定ファイル\r\n\r\n[certcheck.yml.format](certcheck.yml.format) を参考に **certcheck.yml** ファイルを作成してください。\r\n\r\nなお、`targets`でslackの設定(`hook_url`, `username`, `icon`)を指定した場合は、`slack`の設定を上書きします。\r\n\r\n* フォーマット\r\n\r\n```yml\r\ntargets:\r\n  - name:       (分かりやすい名称)\r\n    endpoint:   (調べるURL)\r\n    threshold:  (slackに通知する残日数)\r\n    hook_url:   (slackのIncomming WebHooksで発行したWebhook URL / 上書き項目)\r\n    username:   (slackの通知で表示するユーザ名 / 上書き項目)\r\n    icon:       (slackの通知で表示するアイコン / 上書き項目)\r\nslack:\r\n  hook_url:     (slackのIncomming WebHooksで発行したWebhook URL)\r\n  channel:      (slackの通知で投稿するチャンネル)\r\n  username:     (slackの通知で表示するユーザ名)\r\n  icon:         (slackの通知で表示するアイコン)\r\n```\r\n\r\n## ライセンス\r\n\r\nこのソースのライセンスは、 [LICENSE](LICENSE) を参照してください。\r\n\r\n### その他\r\n\r\nこのソースの一部は、 [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) のライセンスで配布されている成果物を含んでいます。\r\n\r\n* [ynozue/apichecker](https://github.com/ynozue/apichecker) / Copyright (C) 2017 ynozue\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F223n%2Fcertcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F223n%2Fcertcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F223n%2Fcertcheck/lists"}