{"id":28439791,"url":"https://github.com/bkstar123/cloudflare_helper_scripts","last_synced_at":"2026-02-13T03:16:15.887Z","repository":{"id":37505723,"uuid":"203763025","full_name":"bkstar123/cloudflare_helper_scripts","owner":"bkstar123","description":"Helper scripts for SSL \u0026 Cloudflare custom SSL management","archived":false,"fork":false,"pushed_at":"2024-11-22T10:17:00.000Z","size":121,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T03:05:59.008Z","etag":null,"topics":["cloudflare","ssl","tls"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bkstar123.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-22T09:39:44.000Z","updated_at":"2024-11-22T10:16:28.000Z","dependencies_parsed_at":"2024-11-22T11:31:36.770Z","dependency_job_id":null,"html_url":"https://github.com/bkstar123/cloudflare_helper_scripts","commit_stats":null,"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"purl":"pkg:github/bkstar123/cloudflare_helper_scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fcloudflare_helper_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fcloudflare_helper_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fcloudflare_helper_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fcloudflare_helper_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkstar123","download_url":"https://codeload.github.com/bkstar123/cloudflare_helper_scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkstar123%2Fcloudflare_helper_scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274647535,"owners_count":25324292,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cloudflare","ssl","tls"],"created_at":"2025-06-06T03:05:58.133Z","updated_at":"2026-02-13T03:16:15.843Z","avatar_url":"https://github.com/bkstar123.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudflare Helper Scripts\n\nThis repository provides some helper scripts to interact with Cloudflare API. At this time of writing, it offers the following capabilities:  \n\u0026ndash; Fetch the current custom SSL configuration for a list of given zones \u0026 save the output to a csv file for easier importing to Excel.   \n\u0026ndash; Upload/Replace a custom certificate for a list of given zones.  \n\u0026ndash; Fetch certificate data from the list of given URL (may/maynot on Cloudflare): certificate fingerprint, expire date, days until expiration, DNS A \u0026 CNAME record and so on. The output will be saved to a csv file for easier importing to Excel.  \n\u0026ndash; Quickly decode a certificate file and print the output to the standard output (stdout).  \n\u0026ndash; Filter all unique root/apex domains from a list of given custom domains  \n\n## Usage\n\n### Installation\n\n- Firstly, download the repository to your local machine and run ```composer install``` to install all the dependent packages.  \n- Rename ```.env.example``` to ```.env```, put your Cloudflare API key to ```.env``` , rename ```6.cffirewall_rule_params.php.example``` to ```6.cffirewall_rule_params.php```, and create all necessary files in the ***input*** directory (naming them after the ones you specify in the ```.env```)  \n\n### Execution\n\n```bash\n# You should make sure that all necessary data are already put in the respective input files\nphp 1.cfCheckZoneCustomSSL.php\nphp 1.cfUploadSSLCert.php\nphp 3.checkSSLFromCertFile.php\nphp 4.checkSSLFromURL.php\nphp 5.filterApexRootDomain.php\nphp 6.cfFirewallRuleCreate.php\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkstar123%2Fcloudflare_helper_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkstar123%2Fcloudflare_helper_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkstar123%2Fcloudflare_helper_scripts/lists"}