Custom SSL certs for snapd to the snap store communication

Support for adding custom SSL certificates to the snapd daemon has landed in the 2.45 release. These certs will then be added to the trusted certificates pool of snapd for the store communication.

Custom certs can be added via the snapd configuration system under system and store-certs.<name>=<value>.

E.g. add via:

# snap set system store-certs.cert1="$(cat /path/to/mycert)"

Remove via:

# snap unset system store-certs.cert1
1 Like

I’ve added this to our system options reference page: System options

1 Like