dtsepelev / meteor-up-letsencrypt

Production Quality Meteor Deployments with Let's Encrypt support
MIT License
26 stars 8 forks source link

Does SSL Let's Encrypt work with multiple servers? #13

Open wiserweb opened 7 years ago

wiserweb commented 7 years ago

Suppose you start with a single app server. Then you need to expand to 2 or more app servers.

Is there some sort of logic to ensure that all app servers are using the same SSL cert?

evlrbot commented 7 years ago

If you read the SSL section of the config, you'll see you can pass your own certificate files to any deployment. So that would be on you to pass the same cert to each deployment.

If you are using LetsEncrypt, I think each deployment would get its own certificate created locally. Not sure if LE would invalidate cert A if you recreated it as cert B on a new server/ip. I would think not, but should be easy to test yourself.

wiserweb commented 7 years ago

@evlrbot Yes, I'm aware of supplying your own certs with configure file. I guess I'm looking for a more precise answer if the current implementation of in this repo with Let's Encrypt works with multiple app servers.

Can anyone who has tested with multiple app servers confirm that this works with multiple app servers? If so, then it can be added to the documentation. If it doesn't work then the readme needs to be update to reflect this use case under Multiple Deployments section.

evlrbot commented 7 years ago

It is already in the documentation:

https://github.com/dtsepelev/meteor-up-letsencrypt#multiple-deployment-targets