mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
Allow setting certificate path in pkl settings #301
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rohan-datar on GitHub (Apr 8, 2025).
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/cacertsbut this is annoying because the certificates have relatively short expiration times. Would it be possible to add an option to thepkl:settingsmodule that allows you to set a static certificate path that is not~/.pkl/cacerts? I would like to do something like this:@HT154 commented on GitHub (Apr 8, 2025):
I've not yet verified this works, but you might try symlinking
~/.pkl/cacertsto/etc/ssl/certsto avoid having to copy things around.@rohan-datar commented on GitHub (Apr 8, 2025):
Verified that this does work, but I don't think it's a great solution overall. I would still like the option of providing a custom cert path or telling pkl to use the system certs.