Set up SSL certificate on balenaOS devices (RPI3s)

Another follow up…

I tried installing the cert as described here. This doesn’t work because:

  1. /usr/local/ doesn’t exist
  2. /usr/* is read only
  3. It doesn’t specify where to put the .key file

I tried to install it via the balenaRootCA entry in the config.json. This also doesn’t work and also doesn’t specify where to put the .key file.

I have Googled for different ways for different OS to deduct how to do this, but nothing seems to work on balenaOS. I just can’t figure out how to make this work…