mattkrick / meatier

:hamburger: like meteor, but meatier :hamburger:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Free automatic SSL certs using letsencrypt

patrickleet opened this issue · comments

I'm trying to play with this now, but not sure how it's affected by SocketCluster

https://www.npmjs.com/package/letsencrypt
https://github.com/Daplie/letsencrypt-express

Would be a nice addition!

That looks nice, what you think @mattkrick ? Looking at worker.js I can see how we could take advantage of this, but I'm not master of SocketCluster so I'm not 100% about this.

Oh I'm stoked someone brought this up! Yeah let's start with encrypting the
http server and then can do a separate PR for websockets, I can't remember
all the details about wss

On Wed, Feb 17, 2016, 5:32 PM Bartek Kus notifications@github.com wrote:

That looks nice, what you think @mattkrick https://github.com/mattkrick
? Looking at worker.js I can see how we could take advantage of this, but
I'm not master of SocketCluster so I'm not 100% about this.


Reply to this email directly or view it on GitHub
#80 (comment).

Ok, I'll tackle this as soon as I finish with the webpack update... have you had a chance to look at the proposed npm script changes yet?

awesome, yep, checked it out & it looks really good, but I got sidetracked with a little redux side project

It's all good, gotta do what you gotta do Matt :)

I think this is outta scope of the project since it's more devops.
BUT, I just did this using dokku on digital ocean & i'm blown away by how easy it is.

  1. Install the plugin: https://github.com/dokku/dokku-letsencrypt
  2. Run the plugin
  3. make a renewal cron job: https://blog.semicolonsoftware.de/running-dokku-letsencrypt-auto-renewal-as-a-cronjob/
    It occurs at the reverse proxy layer (nginx), not the application layer. That means there's no changes necessary for your app.
    I still haven't done it for wss, will cross that bridge in the next few days.