Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with acme4j to get lets encrypt certificate automatically #313

Open
stevehu opened this issue Oct 30, 2018 · 4 comments
Open

Integrate with acme4j to get lets encrypt certificate automatically #313

stevehu opened this issue Oct 30, 2018 · 4 comments
Assignees
Labels
enhancement Issue: Enhancement help wanted Issue: Help Wanted

Comments

@stevehu
Copy link
Contributor

stevehu commented Oct 30, 2018

https://github.com/shred/acme4j

@stevehu stevehu added enhancement Issue: Enhancement help wanted Issue: Help Wanted labels Feb 16, 2019
@shabeebrp
Copy link

Hi,
I am a new contributor, I would like to take this issue, can anybody help me in figuring out how to proceed?

@stevehu
Copy link
Contributor Author

stevehu commented Apr 9, 2019

@shabeebrp Welcome to the team. ACME is a protocol that you can get the certificate automatically within your Java application.

https://tools.ietf.org/html/rfc8555

The particular implementation of acme4j is integrated with Let's Encrypt tightly. Most of our personal users are using Let's Encrypt certificates but it needs to be renewed every 3 months. The process is that you need to expose your service to the internet and the let's encrypt will challenge your service with your domain name to confirm that your service and domain are matching. Once it is confirmed, it will issue the certificate to your service.

Since light-4j is a service already, we can just allow let's encrypt to access our service instance through the domain name for the challenge. Once we get the certificates, we can put it into the server.keystore and server.truststore for later usage. There is a spring-boot implementation that might give us some ideas.

https://github.com/creactiviti/spring-boot-starter-acme

I would recommend writing an RFC document in light-rfcs repository in a branch and create a pull request. In this way, we can invite more people into the discussion. I've sent you an invite to join light-contributor which has the write access to the light-rfcs repo.

@shabeebrp
Copy link

@stevehu Started exploring more about this topic and will create RFC document once I gather enough information.

@stevehu stevehu assigned stevehu and shabeebrp and unassigned stevehu May 9, 2019
shabeebrp added a commit to shabeebrp/light-4j that referenced this issue Jun 29, 2019
shabeebrp added a commit to shabeebrp/light-4j that referenced this issue Jun 29, 2019
shabeebrp added a commit to shabeebrp/light-4j that referenced this issue Jun 29, 2019
shabeebrp added a commit to shabeebrp/light-4j that referenced this issue Jun 29, 2019
shabeebrp added a commit that referenced this issue Jun 30, 2019
@shabeebrp
Copy link

RFC Document Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue: Enhancement help wanted Issue: Help Wanted
Projects
None yet
Development

No branches or pull requests

2 participants