Hello,
Is it possible to have a self signed SSL to run an https on Devilbox?
If right, then is there any tutorial somewhere ?
@sebastienserre not at the moment. SSL support is coming in the first quarter of this year.
@cytopia, Thanks for the great work.
Please add SSL support as soon as possible. It would be great if you could also add some devilish commands to automate most of the process for creating self signed certificates for local development.purposes.
Cheers!
I would love to see this added too. Again, moving from a different setup where i have SSL for a lot of projects so to be able to use this would need https! Thanks!!
Is it generally possible to have a wildcard certificate for e.g. *.dev or does it only work with domains?
As far as i'm aware, browsers wont trust a certificate that covers a whole TLD so pretty sure that wouldn't work. It would have to be per domain *.project1.loc
Then I guess certificates will have to be created for each available project on startup (or at least check if the currently available cert [if any] matches the current chosen TLD_SUFFIX).
I would say that is your only option, yes.
Hi! Do you have ETA on this one at all?
There is actually and I wanted to have it implemented by know, however I am still working on the documentation which took a little longer than expected.
This is scheduled when the documentation is finished: https://github.com/cytopia/devilbox/pull/186
So awesome. Thanks!! :)
Ooooh yes please! Ssl would be an awesome feature to add!
Thx for the great work!
@sebastienserre @aditya43 @johnwbaxter @yannandco @henscu @masiorama @alexagui @mrpsiho @mcliment
Let me know of any features or ideas.
~There will be a WIP branch probably by the end of this week for at least one webserver~
WIP branch: https://github.com/cytopia/devilbox/pull/239
I will create a CA, that is mounted to the Devilbox git directory and only created if it is not present (should not overwrite an existing CA). All subsequent vhost SSL certificates are signed by that CA. This allows you to import the mounted CA file into Chrome/FF/IE and regardless of Devilbox restarts or recreation of site certificates, you will always get a valid certificate for each project.
First working version is ready to check out. Instructions in PR: https://github.com/cytopia/devilbox/pull/239
I have created two scripts to easily generate CA's and certificates for SSL. If anyone here has some OpenSSL knowledge, please have a brief look and let me know if this is fine or needs some adjustments: https://github.com/devilbox/cert-gen
Looks like it is finished now. Only part that is missing is the documentation. Check out the PR and let me know how it works for you:
So awesome. Thanks for implementing this!!!
Released
Most helpful comment
@sebastienserre not at the moment. SSL support is coming in the first quarter of this year.