Steffen Nurpmeso wrote: > Todd Zullinger wrote in > <[email protected]>: > .. > |I don't know the S/MIME stuff enough to test this, but I > |wonder if simply not specifying `smime_ca_location` results > |in using the system OpenSSL cert store -- on distributions > |which set a default store? > > No.
Perhaps you can clarify why that is so clear cut? Your later comment about X509_STORE_set_default_paths() implies you're referring to C code which uses the OpenSSL libraries. But the S/MIME code here calls `openssl smime` directly. When `smime_ca_location` is set, that command gains the `-CAfile` or `-CApath` option to point at the location. I don't think it's clear that excluding the option will result in _not_ using a default trust store, if the distribution has built/configured OpenSSL to use one. Their own documentation says it can and does differ. Cheers, -- Todd
signature.asc
Description: PGP signature
