Allow setting certificate path in pkl settings
Author: rohan-datarCreated Apr 8, 2025Updated Aug 10, 2026
I'm using pkl in an environment that uses custom certificates for communicating with a private repo with some pkl modules. For now, I've been copying the custom certificates from the system certificate store to ~/.pkl/cacerts but this is annoying because the certificates have relatively short expiration times. Would it be possible to add an option to the pkl:settings module that allows you to set a static certificate path that is not ~/.pkl/cacerts? I would like to do something like this:
amends "pkl:settings"
cacerts = "/etc/ssl/certs/"Source: apple/pkl