{"id":26748340,"url":"https://github.com/runabol/spring-boot-starter-acme","last_synced_at":"2025-10-07T15:40:28.761Z","repository":{"id":52544623,"uuid":"120381200","full_name":"runabol/spring-boot-starter-acme","owner":"runabol","description":"Generate SSL certs easily for Spring Boot apps","archived":false,"fork":false,"pushed_at":"2024-10-03T17:24:48.000Z","size":85,"stargazers_count":102,"open_issues_count":2,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-14T22:14:46.081Z","etag":null,"topics":["acme","apache2","spring-boot","ssl","ssl-certificate"],"latest_commit_sha":null,"homepage":"","language":"Java","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/runabol.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-06T00:45:14.000Z","updated_at":"2025-03-21T03:48:45.000Z","dependencies_parsed_at":"2025-04-14T22:24:49.308Z","dependency_job_id":null,"html_url":"https://github.com/runabol/spring-boot-starter-acme","commit_stats":null,"previous_names":["runabol/spring-boot-starter-acme","okayrunner/spring-boot-starter-acme"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/runabol/spring-boot-starter-acme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runabol%2Fspring-boot-starter-acme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runabol%2Fspring-boot-starter-acme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runabol%2Fspring-boot-starter-acme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runabol%2Fspring-boot-starter-acme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runabol","download_url":"https://codeload.github.com/runabol/spring-boot-starter-acme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runabol%2Fspring-boot-starter-acme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278801770,"owners_count":26048557,"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-10-07T02:00:06.786Z","response_time":59,"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":["acme","apache2","spring-boot","ssl","ssl-certificate"],"created_at":"2025-03-28T10:17:29.603Z","updated_at":"2025-10-07T15:40:28.756Z","avatar_url":"https://github.com/runabol.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Starter ACME\n\nA Spring Boot module that is meant to ease the pain of generating a valid SSL Certificate using the Automatic Certificate Management Environment (ACME) protocol.\n\nThis project depends on the [acme4j](https://github.com/shred/acme4j) library.\n\n# Dependencies\n\nThis module depends on having `openssl` on the `PATH` to convert the certificate to PKCS12 format.\n\n# Maven\n\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.creactiviti\u003c/groupId\u003e\n  \u003cartifactId\u003espring-boot-starter-acme\u003c/artifactId\u003e\n  \u003cversion\u003e0.0.1-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n\n\u003crepositories\u003e\n   \u003crepository\u003e\n      \u003cid\u003emaven-snapshots\u003c/id\u003e\n      \u003curl\u003ehttp://oss.sonatype.org/content/repositories/snapshots\u003c/url\u003e\n      \u003clayout\u003edefault\u003c/layout\u003e\n      \u003creleases\u003e\n         \u003cenabled\u003efalse\u003c/enabled\u003e\n      \u003c/releases\u003e\n      \u003csnapshots\u003e\n         \u003cenabled\u003etrue\u003c/enabled\u003e\n      \u003c/snapshots\u003e\n   \u003c/repository\u003e\n\u003c/repositories\u003e\n```\n\n# Usage\n\n1. Add the module to your `pom.xml` file as a dependency.\n\n2. Build your project. \n\n2. Deploy it to a target machine and point your domain name to the IP address of that machine. LetsEncrypt validates your ownership of the domain by making a callback to the `http://your-domain/.well-known/acme-challenge/{token}` endpoint exposed by this module.\n\n3. Make sure that your server has `openssl` available on its `$PATH`.\n\n4. To activate `spring-boot-starter-acme` and generate a certificate execute:\n\n```\nsudo java -Dserver.port=80 -Dacme.enabled=true -Dacme.domain-name=\u003cYOUR_DOMAIN_NAME\u003e -Dacme.accept-terms-of-service=true -jar mysecureapp-0.0.1-SNAPSHOT.jar\n```\n\n5. Check your console for a confirmation that the certificate was successfully generated.\n\n6. Stop your application and configure it to make use of the generated certificate:\n\n```\nserver.port=443\nserver.ssl.key-store=keystore.p12\nserver.ssl.key-store-password=password\nserver.ssl.keyStoreType=PKCS12\n```\n\n# Configuration\n\n| Name                         | Description                                  | Type           | Default Value                   | \n|------------------------------|----------------------------------------------|----------------|---------------------------------|\n| acme.enabled                 | Activate the spring-boot-starter-acme module | boolean        | false                           |\n| acme.accept-terms-of-service | Accepts the CA's terms of service            | boolean        | false                           |\n| acme.domain-name             | The domain name to register the SSL cert for | string         |                                 |\n| acme.user-key-file           | The location of the user private key file    | string         | user.key                        |\n| acme.domain-key-file         | The location of the domain private key file  | string         | domain.key                      |\n| acme.domain-csr-file         | The location of the domain csr file          | string         | domain.csr                      |\n| acme.domain-chain-file       | The location of the domain chain file        | string         | domain-chain.crt                |\n| acme.key-store-file          | The location of the keystore file            | string         | keystore.p12                    |\n| acme.key-store-password      | The keystore password                        | string         | password                        |\n| acme.endpoint                | The acme endpoint to generate the cert with  | string         | acme://letsencrypt.org          |\n\n# Endpoints\n\n| CA          | Env        | URL                             |\n|-------------|------------|---------------------------------|\n| LetsEncrypt | Staging    | acme://letsencrypt.org/staging  |\n| LetsEncrypt | Prod       | acme://letsencrypt.org          |\n\n\n# License\n\nVersion 2.0 of the Apache License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunabol%2Fspring-boot-starter-acme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunabol%2Fspring-boot-starter-acme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunabol%2Fspring-boot-starter-acme/lists"}