next up previous contents
Next: Code and documentation Up: OpenSSL and EVP Previous: Configuration file   Contents

The openssl command-line tool

Now that we have a configuration file, it's time to test it;

% openssl engine 
(padlock) VIA PadLock (no-RNG, no-ACE)
(dynamic) Dynamic engine loading support
%
% OPENSSL_CONF=./my_ssl_conf openssl engine                                  
(padlock) VIA PadLock (no-RNG, no-ACE)
(dynamic) Dynamic engine loading support
(pkcs11) pkcs11 engine
%

If the engine does not show up, you might want to check whether you specified the right configuration file. OpenSSL silently fails if it cannot find the file. Syntax errors in the file will be printed though.

Take a look at the name printed here, this is the name you need to use when you are initializing your engine in your application later. The name specified in the configuration file is only used there.



Written by Jelte Jansen
© NLnet Labs, May 13, 2008
jelte@nlnetlabs.nl