Comments (7)
Hey @PhilippCh, thanks for creating the issue. I have limited experience with Restify so your help would be great to resolve this.
Could you try adding this below line 50?
// Special case for restify servers.
if (httpsServer.server) httpsServer = httpsServer.server;
if (httpServer.server) httpServer = httpServer.server;
Let me know if this works and I'll add the fix, if not please shoot me a message on the gitter if you can.
from auto-sni.
@PhilippCh I added this fix to 0.9.12, I'm going to close this issue but let me know if this doesn't work for you.
from auto-sni.
Thanks a lot for the fix! It's indeed working just fine now. Always better to have this in the official package than manually editing it :)
from auto-sni.
@PhilippCh glad to here it's working for you.
from auto-sni.
This seems to still be a bug in 0.9.13. Following your example with Restify, I get a:
"TypeError: https.createServer is not a function"
from auto-sni.
@bstahlhood could you confirm that this is fixed in 0.10?
from auto-sni.
@DylanPiercey Yes, it's fixed. Just having a different issue. I will try to debug with you on Gitter
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
- error in 2.1.1 : le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) HOT 10
- 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.