Comments (10)
Hey @jefftham, with @2.x of this library it has been completely changed to be an extremely thin wrapper around greenlock-express.
When I first created this module Greenlock (at the time node-letsencrypt) had a very unfriendly api and was missing many features. However now most of these features have been and so I have mostly stopped my efforts and changed this library to wrap their updated api.
The bundled domains option is currently missing from greenlock-express but with @2.2 I have made it so that the domain option is automatically flattened so that your existing config will still atleat work (it will not bundle though).
from auto-sni.
@DylanPiercey , i just tried the v2.2.1, the error still occur.
it is not the error cause by the nested domains.
it shows
le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed
from auto-sni.
@jefftham can you try removing and reinstalling your node modules? I can't seem to recreate this.
from auto-sni.
I created a new vm and try.
It did generate a cert if I set debug=true.
However, error occurs if debug=false.
from auto-sni.
@jefftham what if you use ports http:80 and https:443? I'm curious if its a port issue.
from auto-sni.
Yes, I use 80 and 443.
from auto-sni.
@jefftham can you run the standard (manual) lets encrypt client? Are those ports actually open? I'm a little stumped.
from auto-sni.
I think it is caused by greenlock-express.
i tested their QuickStart guide, it gives me the same error.
'use strict'; require('greenlock-express').create({ server: 'https://acme-v01.api.letsencrypt.org/directory' , email: '[email protected]' , agreeTos: true , approveDomains: [ 'xxx.example.com' ] , app: require('express')().use('/', function (req, res) { res.end('Hello, World!'); }) }).listen(80, 443);
error message:-
le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed Handling ACME challenges and redirecting to https on plain port 80 Handling ACME challenges and serving https 443
from auto-sni.
from auto-sni.
@jefftham thanks for checking that out. I may consider switching from greenock-express in the future but for now I will close this issue and we can follow the progress on the greenlock repo.
from auto-sni.
Related Issues (20)
- No prior setup required? HOT 1
- use fullchain.pem instead of cert.pem HOT 3
- root access question HOT 2
- mention dependencies on windows in the readme HOT 2
- new version of letsencrypt v1.5.0 HOT 5
- AutoSNI LetsEncrypt Error: TypeError: Path must be a string. Received undefined HOT 11
- SSL peer handshake fails, how to reset? HOT 6
- Error with Nodejs/Restify HOT 1
- certificate issue HOT 2
- Setting multiple domains HOT 4
- This Let's Encrypt / ACME server has been updated with urls that this client doesn't understand HOT 1
- renewal HOT 5
- letsencrypt has been renamed to greenlock HOT 8
- Challenge route? HOT 4
- Update domains without restarting server HOT 1
- Where are the certificates stored? HOT 2
- **Question**Can auto-sni dynamically generate SSL certs? HOT 1
- Greenlock updated HOT 4
- Does letsencrypt still support SNI?
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 auto-sni.