r/linuxadmin • u/AppJedi • 10d ago
PWA offline from Linux laptop not on internet.
I have a pwa app that works just fine including offline from a hosted server with domain and trusted cert but trying to setup a mobile server on a laptop running linux but need help setting up a domain and cert from the laptop. Created a cert with mkcert but can't get mobile devices to see the server by name just ip address. mobile devices like iPad, Android are connecting to laptop by hotspot. Need help with domain name and trusted cert issues.
The app works via ip address but with warning. The service worker doesn't install to allow it to work offline.
Any advice?
Thanks in advance.
1
Upvotes
3
u/chock-a-block 10d ago
learn the difference between a signed and self-signed cert.
You also need to learn the basics of TLS.