2 {- OpenSSL::safe::output_do_not_edit_headers(); -}
6 openssl-engine - load and query engines
19 [B<-pre> I<command>] ...
20 [B<-post> I<command>] ...
25 This command is used to query the status and capabilities
26 of the specified I<engine>s.
27 Engines may be specified before and after all other command-line flags.
28 Only those specified are queried.
36 Display an option summary.
38 =item B<-v> B<-vv> B<-vvv> B<-vvvv>
40 Provides information about each specified engine. The first flag lists
41 all the possible run-time control commands; the second adds a
42 description of each command; the third adds the input flags, and the
43 final option adds the internal input flags.
47 Lists the capabilities of each engine.
51 Tests if each specified engine is available, and displays the answer.
55 Displays an error trace for any unavailable engine.
57 =item B<-pre> I<command>
59 =item B<-post> I<command>
61 Command-line configuration of engines.
62 The B<-pre> command is given to the engine before it is loaded and
63 the B<-post> command is given after the engine is loaded.
64 The I<command> is of the form I<cmd>:I<val> where I<cmd> is the command,
65 and I<val> is the value for the command.
66 See the example below.
68 These two options are cumulative, so they may be given more than once in the
75 To list all the commands available to a dynamic engine:
77 $ openssl engine -t -tt -vvvv dynamic
78 (dynamic) Dynamic engine loading support
80 SO_PATH: Specifies the path to the new ENGINE shared library
82 NO_VCHECK: Specifies to continue even if version checking fails (boolean)
83 (input flags): NUMERIC
84 ID: Specifies an ENGINE id name for loading
86 LIST_ADD: Whether to add a loaded ENGINE to the internal list (0=no,1=yes,2=mandatory)
87 (input flags): NUMERIC
88 DIR_LOAD: Specifies whether to load from 'DIR_ADD' directories (0=no,1=yes,2=mandatory)
89 (input flags): NUMERIC
90 DIR_ADD: Adds a directory from which ENGINEs can be loaded
92 LOAD: Load up the ENGINE specified by other settings
93 (input flags): NO_INPUT
95 To list the capabilities of the B<rsax> engine:
98 (rsax) RSAX engine support
100 (dynamic) Dynamic engine loading support
106 =item B<OPENSSL_ENGINES>
108 The path to the engines directory.
119 Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
121 Licensed under the Apache License 2.0 (the "License"). You may not use
122 this file except in compliance with the License. You can obtain a copy
123 in the file LICENSE in the source distribution or at
124 L<https://www.openssl.org/source/license.html>.