local-ssl-proxy and mkcert
Ocassionally, it’s helpful to run a local service with SSL. My particular scenario has an application that insists on redirecting everything to https
even when running in development mode.
Start with by installing local-ssl-proxy:
|
|
run it like so:
|
|
if you want to avoid unsightly untrusted certificate errors install mkcert:
|
|
Assuming that mydomainname.com
resolves to your localhost
(via /etc/hosts
trickery for example) you can now do
|
|
and access https://mydomainname.com
with no certificate errors.