Comments (6)
What version of node are you using?
from auto-sni.
Well, I was using v0.1.12, I'm a little bit ashamed right now... Updated to v4 and I get another error:
Subject does not start with '/'.
problems making Certificate Request
]
killed: false,
code: 1,
signal: null,
cmd: 'C:\\WINDOWS\\system32\\cmd.exe /s /c "openssl req -x509 -newkey rsa:2048 -keyout privkey.pem -out cert.pem -days 90 -nodes -subj \'/CN=localhost/emailAddress=EMAIL\' && cat privkey.pem cert.pem | tee -a chain.pem fullchain.pem"' }
Will fall back to self signed certificate.
This error gets repeated in an infinite loop.
The openssl
command is working and openssl is installed.
from auto-sni.
I haven't tested this on Windows, could you try executing the failed command above without the first "/" before "CN="? If that successfully creates a self signed certificate then I should be able to issue a patch for Windows.
from auto-sni.
Ok I tested that, the problem seems to be that operators like &&
don't work in the Windows CMD.
from auto-sni.
@brighthero Thanks for looking into it. I'll see what I can do sometime this weekend, if you have time a PR would be great.
from auto-sni.
Going to close this for now since it seems dead in the water and I have opted to avoid supporting windows for now. PR's always welcome though.
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.