Hi,

Does anyone have any examples/advice on configuring openssl on the fly. So 
far I have used OPENSSL_config() to load a config file like this.

[openssl_def]
engines = engine_section

[engine_section]
pkcs11 = pkcs11_section

[pkcs11_section]
engine_id = pkcs11
dynamic_path = /opt/engine_pkcs11-0.1.3/lib/engines/engine_pkcs11.so
MODULE_PATH = /usr/lib/libpkcs11.so
PIN = nominet1:abc123
init = 0

The config contains the PIN needed to access a keystore but I would prefer 
to prompt the user for the pin.  I guess I could do something with 
CONF_modules_load but have the feeling that there must be an easier or 
more elegant way!

Thanks
John
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to