Dr. Stephen Henson wrote:
On Thu, Aug 05, 2004, Victor Tarasov wrote:
Hi,
I have a problems with OpenSSL-0.9.7d when using 'openssl ca' application with dynamic engine .
IMHO, it's because the setup_engine() is called before the parsing of openssl configuration (apps/ca.c +551).
It works for me, if I replace the call of this function to just before the call of load_key() (apps/ca.c +727).
I've moved setup_engine() now so it is after load_config() which should be OK. Let me know of any problems.
Thank you, it works.
One more question.
Does there any particular reason why 'rsa' and 'smime' openssl applications has no '-config' option ?
IMHO, in scripts, to change default configuration, it's more convinient to use this option then to use OPENSSL_CONF environment variable.
In our application, occasionally, dynamicly loaded opensc-pkcs11 engine is used,
and I would not like to keep permanently the engine section in default openssl configuration.
That why this question.
Regards, Viktor.
______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
