-
Notifications
You must be signed in to change notification settings - Fork 19
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
Auto SSL certs #14
Comments
I have gone down the road of SSL certs using mkcert but I have found issues with certain browsers (ahem Safari), that are a bit finicky. I personally would love to have automated certificates with an ACME server, but need to find a way to cleanly integrate this. This means that there would be a root Chalet certificate and autogenerated certificates for each subdomain in chalet. Open to ideas and help on this! |
I have been using this little snippet for ages now. Never had any issues. I use
I actually have it setup as an alias in my system:
|
Thanks @leeovery alias make_local_ssl="ls ~/.chalet/servers | sed -E 's/\.json/.test/g' | tr '\n' ' ' | xargs mkcert -key-file ~/.chalet/key.pem -cert-file ~/.chalet/cert.pem 'localhost' '127.0.0.1' '0.0.0.0' 'chalet.test'" But I still have issues with the SSL on Brave: |
Update: I'm embarrassed to say this was resolved simply by adding my chalet hostnames to /etc/hosts. Didn't realize that was still a thing 😊 previously…@jeansaad I'm wondering if you ever found a working SSL solution for Safari. Where I'm at: On my old work computer:
On my new work computer:
There's also nothing in my app server logs, and no new logs in chalet's daemon.log after its initial start up logs (tested this by moving the old log aside and restarting chalet with a fresh log). So looks like Safari isn't even reaching chalet, and I'm kinda stumped how to figure out what the blocker is. So if you have any pointers on debugging this, I'd love to hear em. (Obviously not your problem so feel free to just say 'good luck with that buddy', haha.) |
typicode#309 and typicode#346. This would be really great.
The text was updated successfully, but these errors were encountered: