p11-glue / p11-kit

Provides a way to load and enumerate PKCS#11 modules.
https://p11-glue.github.io/p11-glue/p11-kit.html
Other
151 stars 95 forks source link

support specifying custom trust store in trust command #665

Open abbra opened 1 day ago

abbra commented 1 day ago

I'd like to use trust command to manage custom trust store. This is needed for cases like encrypted DNS where a custom set of certificates and CA chains will be in use by local encrypted DNS end-points (unbound, bind, etc) and should not necessarily be trusted for the whole system.

I tried to specify paths to p11-kit-trust module via custom pkcs11.conf but trust command ignored it. Not sure how I can get it working with existing tools.

@ueno told me that it could be an RFE, hence this issue.