Giter VIP home page Giter VIP logo

Comments (4)

tgalopin avatar tgalopin commented on August 23, 2024

So you think we should check for this validation before starting any request? I think that's a good idea,but we need to be absolutely sure of the rules we put in place.

from symfony-bundle.

jderusse avatar jderusse commented on August 23, 2024

Those rules come from the python Letsencrypt client.

But you've a point : What if one of the rule changes in the futur (ie: someday, letsencrypt allow Internationalized domain name)
From the other hand, such validation would provide nicer errors messages.
Current message is:

  • for wildcard The ACME server returned the error HTTP status code during request to https://acme-v01.api.letsencrypt.org/acme/new-authz (detail: 400 Error creating new authz :: Invalid character in DNS name)
  • for puny The ACME server returned the error HTTP status code during request to https://acme-v01.api.letsencrypt.org/acme/new-authz (detail: 400 Error creating new authz :: Internationalized domain names (starting with xn--) not yet supported

from symfony-bundle.

tgalopin avatar tgalopin commented on August 23, 2024

Perhaps the best way is, instead of doing or own validation, to catch such specific server messages and improve exceptions for them (and fallback to current system). If the rule change on server side, we still would have a valid exception, just a less friendly one.

from symfony-bundle.

jderusse avatar jderusse commented on August 23, 2024

Yep, you're right. the best way is to let the CA validate the input.

Closed in favor of #5

from symfony-bundle.

Related Issues (6)

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.