@mikebabcock I would wonder if you could use (an environment variable which points to) a custom openssl.conf file that has separate configurations specifying where the trusted root certificates are.
Today has been long enough that I don’t remember if it’s .conf or .cnf, so take what I’m saying for a BIG helping of salt.
You might be able to have a custom file that includes the default configuration file and overwrite the CA specification at the end.
Or if OpenSSL’s config is like OpenSSH’s config specify it at the top and nothing comi g after can change it.
You can play (sym)link games to have some of the same certs in custom CA directories as the default CA directory. Or elsewhere if they aren’t in the default.
I’m speculating out of my ring buffer. But that’s what I’d try if I were you.
No, I do t fault you for wanting to do this.
I may blame you a little bit for prompting me to question the same thing.