-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Let's Encrypt on devilbox #611
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@robsoned I haven't tried letsencrypt myself that's why I've linked the third-party. At what steps are you struggling? |
Hello @cytopia! I was trying to run a Laravel application on production. I tried to follow some guides but I don't remember exactly where the installation fails. but this one seems to be the most accurate guide. I will try to reproduce the error this week and come back with more precise information about it. Thank you! |
I came over this in another project, not using devilbox, and found out, that you can use for this the certbot package in Ubuntu / Debian (this are the OS i am some kind of familiar with), Using nginx, there is also a separate package for certbot with nginx. I made it happen somehow with addning apt-get install python-certbot-nginx certbot --nginx then it will list all of your domains you are running and gives you the option to create certs for all of them or only for some of them. Even better: it also updates the conf files within nginx Perhaps this might help a bit... |
FYI: the main way this works is by the certbot temporarily taking over the webserver and serving a token file while Let's Encrypt attempts to hit your server from the internet. TLDR: it doesn't work easily if your docker containers don't have public dns or public accessibility (which most local dev environments do not). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@cytopia You can install certbot, and run a command and it will place challenge files in the docroot, do a handshake with letsencrypt and then retrieve a certificate. If you ran this on startup, it would check expiration dates and renew if needed. Here is a configuration reference for one of the modes that could be helpful: |
@science695 I can ship certbot with the PHP-FPM images. Additionally a how-to is already available via the docs from another user. As the rest of the feature goes a bit out of scope for a development environment, I will only accept PR's for the rest of the features. Will leave this open until |
@cytopia Sorry, didn't mean to bump a stale topic, just saw the help wanted tag from earlier. |
|
|
Follow this guide to install Let's Encrypt SSL on Ubuntu 20.04 |
ISSUE TYPE
SUMMARY
Use Let's Encrypt on production for a single website at least.
Goal
I'm using devilbox on production, and I've been struggling to install Let's Encrypt work on it. There's a third party project on the documentation that is supposed to do it, but its documentation is not very helpful.
Thanks a lot for the project!
The text was updated successfully, but these errors were encountered: