Skip to content

v1.0.41

Choose a tag to compare

@antonynjagi antonynjagi released this 11 Nov 16:22
· 2 commits to main since this release

Automatic local HTTPS on Windows

Every host is now served at https://name.test with a trusted local certificate, with no setup and no browser warning. Plain http:// keeps working too, with no forced redirect, so apps that store an http:// base URL (WordPress siteurl, for example) aren't affected.

How it works:

  • Caddy issues each host a certificate from JengaDev's own local certificate authority, stored in C:\JengaDev\data\caddy.
  • The first time the web server starts after upgrading, Windows asks once for permission to trust that authority. Click Yes.
  • SSL Tools shows whether it's trusted and has a Trust certificate button if you declined the prompt.
  • Uninstalling JengaDev removes the authority from Windows again.
  • Dashboard host links now open the https:// URL.

Previous versions had Caddy's automatic certificates switched off, so hosts were HTTP-only even though the README described automatic HTTPS. Sorry about that; this release makes it true.

Fixes

  • Certificates uploaded through SSL Tools pointed at the wrong site folder, so those sites didn't load.
  • Saving Mailpit settings failed to restart the web server.
  • After an upgrade, the web server kept its old configuration until a host was added or removed. It's now regenerated on every start.

Linux

  • Every *.localhost host already had HTTPS; now you can make browsers trust it. Run ./trust-ca.sh once (adds the local authority to the system store and to Chrome/Firefox). On a headless server, use SSL Tools → Download certificate and import it where your browser runs.
  • Fixed fresh installs: install.sh downloads the daemon from the latest release, but releases since v1.0.29 didn't include it, so new installs stopped with a 404. The Linux daemon (jengadev-daemon-linux-x64) is attached to this release again. install.sh is also executable in the repo now, so ./install.sh works on a fresh clone.

Using JengaDev on Linux? Linux installs from the repo rather than from an installer: git clone + cd jengadev/linux + ./install.sh (see the Linux section of the README). Already installed? Run git pull, then ./install.sh --upgrade to fetch this release's daemon, then ./trust-ca.sh for trusted local HTTPS.