typicode / hotel

🏩 A simple process manager for developers. Start apps from your browser and access them using local domains
MIT License
9.98k stars 424 forks source link

Fix https with mkcert #346

Closed the0neyouseek closed 2 years ago

the0neyouseek commented 4 years ago

Still a WIP

This PR fix automatic https support by using prebuilt mkcert binaries and generating a certificate for every domain.

For now the certificate is generated when the daemon start. I've yet to figure out how to re-generate it when a domain is added or removed.

I've tried it on my mac and it works okay 👍

Feel free to have a look around as I'm not 100% confident about the code. I'll try to update the PR asap.

Related to #309