Hi all. I’m following https://source.ind.ie/site.js/app/#contributing to provide feedback for Site.js but the link to the GitHub repo (https://github.com/small-tech/site.js) seems non-existent (or private).
My question is, I’m using site.js on both WSL (v2) and Windows, and they both work great.
However, when I run
site serve @localhost inside WSL, I can
curl https://localhost without TLS problems but encounter cert warning when opening https://localhost in Windows browser.
On the other hand, when I run
site serve "@localhost" in PowerShell, I can open https://localhost in Windows browser perfectly.
Here comes the actual question: how do I ask site.js inside WSL to use the same certificate generated by site.js in PowerShell? Or, if I were to break it down:
- How do I export the cert & key used by site.js?
- How do I ask site.js to use the cert & key I provide?