{"id":28287756,"url":"https://github.com/cbschuld/aws-cf-create-certificate","last_synced_at":"2026-05-21T05:02:39.251Z","repository":{"id":294532338,"uuid":"976706221","full_name":"cbschuld/aws-cf-create-certificate","owner":"cbschuld","description":"This repository provides a CloudFormation template to automate SSL/TLS certificate creation using AWS Certificate Manager (ACM) for secure static websites with S3, CloudFront, and Route53.","archived":false,"fork":false,"pushed_at":"2025-05-20T21:31:57.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T05:39:46.889Z","etag":null,"topics":["acm","aws","certificates","cloudformation","cloudformation-template","domain","ssl"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbschuld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2025-05-02T15:42:41.000Z","updated_at":"2025-05-20T21:32:34.000Z","dependencies_parsed_at":"2025-05-29T06:16:27.680Z","dependency_job_id":null,"html_url":"https://github.com/cbschuld/aws-cf-create-certificate","commit_stats":null,"previous_names":["cbschuld/aws-cf-create-certificate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cbschuld/aws-cf-create-certificate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2Faws-cf-create-certificate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2Faws-cf-create-certificate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2Faws-cf-create-certificate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2Faws-cf-create-certificate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbschuld","download_url":"https://codeload.github.com/cbschuld/aws-cf-create-certificate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2Faws-cf-create-certificate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265484845,"owners_count":23774406,"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":["acm","aws","certificates","cloudformation","cloudformation-template","domain","ssl"],"created_at":"2025-05-21T22:13:34.141Z","updated_at":"2026-05-21T05:02:33.975Z","avatar_url":"https://github.com/cbschuld.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS CloudFormation: Automate SSL/TLS Certificate Creation with ACM\n\n[![GitHub stars](https://img.shields.io/github/stars/cbschuld/aws-cf-create-certificate)](https://github.com/cbschuld/aws-cf-create-certificate/stargazers)\n[![License](https://img.shields.io/github/license/cbschuld/aws-cf-create-certificate)](LICENSE)\n\nThis repository provides a CloudFormation template to automate SSL/TLS certificate creation using AWS Certificate Manager (ACM) for secure static websites with S3, CloudFront, and Route53.\n\nAllows you to provision both the apex (e.g. domain.com) and wildcard (e.g. \\*.domain.com) ACM certificates via CloudFormation, automatically creating DNS validation records and exporting the certificate ARN for use in other scripts or templates.\n\n## Quick Use\n\nDetermine the `HostedZoneId` for your domain:\n```sh\n ./get-hosted-zone-id.sh -d [DOMAIN] -p [NAMED_PROFILE]\n```\n\nDeploy to create the Certificate:\n__Note: The `AppName` is used to prefix the output from the certificate.__\n```sh\n./deploy.sh \\\n    -d imgbt.com \\\n    -z [ZONE_ID] \\\n    -a [APP_NAME] \\\n    -p [NAMED_PROFILE] \\\n    -r [REGION]\n```\n\n## Architecture\n```mermaid\ngraph TD\n    A[User] --\u003e B[CloudFormation Stack]\n    B --\u003e C[AWS Certificate Manager]\n    C --\u003e D[Route53 DNS Validation]\n    C --\u003e E[Issued SSL/TLS Certificate]\n    D --\u003e C\n```\n\n## Summary of Scripts\n\nA small collection of Bash utilities to streamline ACM certificate provisioning:\n\n- **get-hosted-zone-id.sh**  \n  Lookup the Route 53 Hosted Zone ID for a given domain and AWS CLI profile.\n\n- **deploy-certificate.sh**  \n  Deploy a DNS‑validated ACM certificate (apex + wildcard) using CloudFormation, tagging resources by application name.\n\nBoth scripts verify prerequisites (AWS CLI) and validate all required parameters before executing. Simply pass in your domain, hosted zone, application name and AWS profile to automate certificate issuance end‑to‑end.\n\n## Use Cases\n- Produce apex and wildcard certificates with an output Arn\n- Automating certificate provisioning for CI/CD pipelines.\n- Securing a static website with HTTPS.\n- Learning CloudFormation and ACM for AWS certifications.\n\n## Contributing\nWant to improve this template? Submit a pull request or open an issue! We're looking for:\n- New features (e.g., ACM certificate automation).\n- Documentation enhancements.\n- Architecture diagrams or example sites.\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for details.\n\n## Stay Updated\nStar this repo and follow me on [X](https://x.com/cbschuld) for updates!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbschuld%2Faws-cf-create-certificate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbschuld%2Faws-cf-create-certificate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbschuld%2Faws-cf-create-certificate/lists"}