Free, easy, automated HTTPS for Node.js
github.com
github.com
This project looks interesting, and seems like it should be pretty simple to set up. Since it appears http.createServer() and auto-sni.createServer() have the same interface, there shouldn't be a problem using it, assuming no significant glitches show up.
Currently our node servers run behind nginx, which has effectively managed http->https redirect, establishing TLS connections, etc. Depending on the situation, conceivably doing it all in node itself could be a reasonable approach.
I was going to ask about this, in our current setup Nginx or an F5 in a DMZ handles TLS termination and everything inside the trusted network is unencrypted. I guess direct termination on the app server would be nice if you don't have a DMZ.
I'm considering trying https://caddyserver.com/ for that as it has LE automation built in (though you might find there are similarly easy integration options for nginx too). I like the idea of dealing with SSL via reverse proxy and not needing anything in my application code to care.
> I like the idea of dealing with SSL via reverse proxy and not needing anything in my application code to care.
Yes, a good reason to reverse proxy, also, besides TLS there's HTTP/2, and running multiple web servers, etc. on the same machine...
Juts for information purposes, a list of host that supports Letsencrypt is being maintained here: https://github.com/letsencrypt/letsencrypt/wiki/Web-Hosting-...