Results 1 to 1 of 1

Thread: How to add system certificates to all snaps

  1. #1
    Join Date
    May 2006

    How to add system certificates to all snaps

    I have a VPN certificate in /usr/local/share/ca-certificates/ that is added to the system store in /etc/ssl/certs via update-ca-certificates. But apps installed via snap don't see this certificate and generate an SSL error when accessing https links over VPN. How do I get all snap apps to trust /etc/ssl/certs?

    I've found some related instructions but they seem to be specific to a given app such as the Snap Store ( I'm trying to get this certificate trusted by all apps.

    Edited on further research: I think the problem here is actually python certifi, which uses its own cacert.pem. But I don't see how to replace that file in a snap or otherwise get python scripts in the snap to use the system certificate store.
    Last edited by ajkessel; December 4th, 2023 at 07:36 PM. Reason: clarified issue may be particular python

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts