Install mitm-proxy root-ca on running device

Good morning,

I have a running balenaOS on an PC and I am trying to install a Man-in-the-middle Proxy between the PC and the Internet. The proxy is working and the device is online and I see the traffic in my proxy.

My question is, how do I get my proxy’s root CA onto the Balena device so that I can update my containers from the registry? Because right now, I’m having the problem that I’m getting this error from Balena balena_supervisor:

2025-09-09[debug] delta([node-red] registry2.balena-cloud.com/v2/xxx@sha256:xxx): Delta failed with Error: (HTTP code 500) server error - Get “https://registry2.balena-cloud.com/v2/”: x509: certificate signed by unknown authority

Thanks for your help

Hi, you can configure the balenaRootCA in your device’s config.json in the boot partition. See GitHub - balena-os/meta-balena: A collection of Yocto layers used to build balenaOS images and BalenaOS Masterclass | balena