Code Monkey home page Code Monkey logo

Comments (2)

shred avatar shred commented on June 19, 2024

Setting up the acme-challenge looks good to me.

The problem is that your challenge isn't tested locally by acme4j, but externally by the Let's Encrypt staging server. So the test was executed against the real example.com domain. In the error details you can see their IP (2606:2800:220:1:248:1893:25c8:1946) and their standard HTML response.

You either need to make your Nginx reachable from the outside, and use a real domain that can actually be checked by Let's Encrypt.

Alternatively, you can run a local service like Boulder or Pebble, and create your own test certificates. Boulder is the productive service that is also used by Let's Encrypt, while Pebble is a lightweight test service. acme4j uses Pebble for the integration tests, so you may find a good example in the acme4j-it/pom.xml file. Also see the Testing acme4j chapter.

from acme4j.

hasithajayasundara avatar hasithajayasundara commented on June 19, 2024

@shred Thanks for the detailed explanation. Closing this issue.

from acme4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.