System configuration for motion melodies using NixOS.
Go to file
2023-09-30 09:34:22 -04:00
platforms Moves WiFi to pi-specific config file. 2023-09-30 09:34:22 -04:00
ssl Adds SSL 2023-09-30 09:34:22 -04:00
.gitignore Adds alsa config for loopback recording. 2023-09-21 08:38:03 -04:00
authorized_keys Works with colmena on Pi 3. 2023-07-25 03:32:19 -04:00
configuration.nix Moves WiFi to pi-specific config file. 2023-09-30 09:34:22 -04:00
flake.lock Adds nginx server. 2023-09-24 16:16:38 -04:00
flake.nix Adds nginx server. 2023-09-24 16:16:38 -04:00
melodies.nix Adds SSL 2023-09-30 09:34:22 -04:00
README.md Adds SSL 2023-09-30 09:34:22 -04:00

Using selfsigned SSL Keys for a PWA on Android

Generate selfsigned ssl keys with:

HOSTNAME=melodypond
openssl genrsa -out ssl/snakeoil.key
openssl x509 -new -key ss/snakeoil.key -out ssl/snakeoil.crt -subj "/CN=$HOSTNAME" -extfile ssl/options.txt
# Then manually copy the key and certificate to /etc/ssl on the server.
#   and onto the Android device used as the controller.

These keys can then be added to the Android device used as the controller by going to Settings >> Security >> Credentials >> Install >> CA then selecting the certificate and rebooting the device.

If you are using a Firefox-based browser on the phone, you will also need to enable third party certificates in the Firefox app's developer settings. This can be accessed by tapping the logo on the about screen many times, then going to Settings >> Secret Settings >> Use Third Party CAs

Firefox should now show the site as secure and allow installing the PWA.