Git Product home page Git Product logo

Comments (9)

xiaohuilam avatar xiaohuilam commented on June 25, 2024 1

I don't think resolver should be DNS by default when wildcard identifier occur.
It is a mechanism of letsencrypt, doesn't mean it's an ACME mechanism.

from acmephp.

tgalopin avatar tgalopin commented on June 25, 2024

Thanks for the feedback!

If you are interested by doing a PR on this, don't hesitate to ping me here or on the Symfony Slack: I'd be glad to help :) .

from acmephp.

aik099 avatar aik099 commented on June 25, 2024

How do you validate wildcard domains using run command command?

In my case all the sub-domains lead to same document root so http-file would also work, but instead I also get same This ACME server does not expose supported challenge. error.

from acmephp.

jderusse avatar jderusse commented on June 25, 2024

You have to use a DNS solver.
For now only AWS Route53 is implented

from acmephp.

aik099 avatar aik099 commented on June 25, 2024

Theoretically \AcmePhp\Core\Challenge\Dns\SimpleDnsSolver (activated via solver: dns config file line) should also work, but I'm not sure if it will actually wait during run command execution for me to change DNS?

Will it?

from acmephp.

aik099 avatar aik099 commented on June 25, 2024

I'm using Gandi.Net. It has API (see http://doc.livedns.gandi.net/) were you can:

  1. create new zone file version based on existing zone file
  2. add needed entries for validation to it
  3. switch to new zone file version
  4. after validation is done switch back to old zone file version
  5. drop new zone file version created for validation only

from acmephp.

jderusse avatar jderusse commented on June 25, 2024

Sounds 5. Could you please submit a Pull Request?

from acmephp.

aik099 avatar aik099 commented on June 25, 2024

I probably could, but I wonder how do I test that. In the test suite I haven't found examples of DNS solver test classes.

Also maybe you can point me to the correct test case where I can see how challenge fixtures are used. Generating certificates right on Let's Encrypt just to test how it works sounds like a terrible idea.

from acmephp.

aik099 avatar aik099 commented on June 25, 2024

@jderusse , PR created: #162

from acmephp.

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.