Comments (4)
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.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symfony-bundle.