Integrate Let's Encrypt for TLS certificate generation#10
Open
carlosbaraza wants to merge 1 commit intometeorhacks:masterfrom
Open
Integrate Let's Encrypt for TLS certificate generation#10carlosbaraza wants to merge 1 commit intometeorhacks:masterfrom
carlosbaraza wants to merge 1 commit intometeorhacks:masterfrom
Conversation
Author
|
An issue I discovered is that if it fails to generate a certificate and the param Error after the domain is banned: We should implement a mechanism to know that the certificate request failed, in order to stop the container for further requests. This could be useful also to give feedback to the user in the CLI when they deploy. |
This was referenced Feb 8, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @arunoda,
I integrated Let's Encrypt for the generation of TLS free certificates within this image. Maybe you had a better idea about how to do this.
This feature is linked to a PR that I will submit now to
meteor-up x, making use of it. I tested that it is backwards compatible with some of my projects. However, it may have some bugs or small tweakings.Automatic renewal of certificates
We should invest a bit more of time integrating the
webrootplugin oflet's encrypt.My idea was to create a volume to
bundle.crtandprivate.keyto persist the generated certificates. Then, if the certificate is existing and the generation is on, it should try to generate a new certificate if the current certificate is about to expire and overwrite thebundle.crtandprivate.keyfiles.I have set up the location in
nginx.confforwebroot(not tested) and some logic in thestart.shto start the generation with webroot if the certificates are present.The reason for doing this is that nginx would not boot up if the certificates are not present, therefore I though that if the certificates are not present, we should generate them with the
standaloneplugin before booting nginx.Suggestions
If you have any suggestions to improve it, I am open to discuss it.