• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1=pod
2
3=head1 NAME
4
5openssl-engine,
6engine - load and query engines
7
8=head1 SYNOPSIS
9
10B<openssl engine>
11[ I<engine...> ]
12[B<-v>]
13[B<-vv>]
14[B<-vvv>]
15[B<-vvv>]
16[B<-vvv>]
17[B<-c>]
18[B<-t>]
19[B<-tt>]
20[B<-pre> I<command>]
21[B<-post> I<command>]
22[ I<engine...> ]
23
24=head1 DESCRIPTION
25
26The B<engine> command is used to query the status and capabilities
27of the specified B<engine>'s.
28Engines may be specified before and after all other command-line flags.
29Only those specified are queried.
30
31=head1 OPTIONS
32
33=over 4
34
35=item B<-v> B<-vv> B<-vvv> B<-vvvv>
36
37Provides information about each specified engine. The first flag lists
38all the possible run-time control commands; the second adds a
39description of each command; the third adds the input flags, and the
40final option adds the internal input flags.
41
42=item B<-c>
43
44Lists the capabilities of each engine.
45
46=item B<-t>
47
48Tests if each specified engine is available, and displays the answer.
49
50=item B<-tt>
51
52Displays an error trace for any unavailable engine.
53
54=item B<-pre> I<command>
55
56=item B<-post> I<command>
57
58Command-line configuration of engines.
59The B<-pre> command is given to the engine before it is loaded and
60the B<-post> command is given after the engine is loaded.
61The I<command> is of the form I<cmd:val> where I<cmd> is the command,
62and I<val> is the value for the command.
63See the example below.
64
65=back
66
67=head1 EXAMPLES
68
69To list all the commands available to a dynamic engine:
70
71 $ openssl engine -t -tt -vvvv dynamic
72 (dynamic) Dynamic engine loading support
73      [ unavailable ]
74      SO_PATH: Specifies the path to the new ENGINE shared library
75           (input flags): STRING
76      NO_VCHECK: Specifies to continue even if version checking fails (boolean)
77           (input flags): NUMERIC
78      ID: Specifies an ENGINE id name for loading
79           (input flags): STRING
80      LIST_ADD: Whether to add a loaded ENGINE to the internal list (0=no,1=yes,2=mandatory)
81           (input flags): NUMERIC
82      DIR_LOAD: Specifies whether to load from 'DIR_ADD' directories (0=no,1=yes,2=mandatory)
83           (input flags): NUMERIC
84      DIR_ADD: Adds a directory from which ENGINEs can be loaded
85           (input flags): STRING
86      LOAD: Load up the ENGINE specified by other settings
87           (input flags): NO_INPUT
88
89To list the capabilities of the I<rsax> engine:
90
91 $ openssl engine -c
92 (rsax) RSAX engine support
93  [RSA]
94 (dynamic) Dynamic engine loading support
95
96=head1 ENVIRONMENT
97
98=over 4
99
100=item B<OPENSSL_ENGINES>
101
102The path to the engines directory.
103
104=back
105
106=head1 SEE ALSO
107
108L<config(5)>
109
110=head1 COPYRIGHT
111
112Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
113
114Licensed under the OpenSSL license (the "License").  You may not use
115this file except in compliance with the License.  You can obtain a copy
116in the file LICENSE in the source distribution or at
117L<https://www.openssl.org/source/license.html>.
118
119=cut
120