2015-12-22 21:22:33 +08:00
|
|
|
=pod
|
2020-02-27 05:45:31 +08:00
|
|
|
{- OpenSSL::safe::output_do_not_edit_headers(); -}
|
2015-12-22 21:22:33 +08:00
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
openssl-engine - load and query engines
|
2015-12-22 21:22:33 +08:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl engine>
|
Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
2020-01-17 02:40:52 +08:00
|
|
|
[B<-help>]
|
2015-12-22 21:22:33 +08:00
|
|
|
[B<-v>]
|
|
|
|
[B<-vv>]
|
|
|
|
[B<-vvv>]
|
2019-10-02 03:10:17 +08:00
|
|
|
[B<-vvvv>]
|
2015-12-22 21:22:33 +08:00
|
|
|
[B<-c>]
|
|
|
|
[B<-t>]
|
|
|
|
[B<-tt>]
|
2019-10-02 00:16:29 +08:00
|
|
|
[B<-pre> I<command>] ...
|
|
|
|
[B<-post> I<command>] ...
|
2019-10-01 15:57:37 +08:00
|
|
|
[I<engine> ...]
|
2015-12-22 21:22:33 +08:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
Command docs: fix up command references
Almost all OpenSSL commands are in reality 'openssl cmd', so make sure
they are refered to like that and not just as the sub-command.
Self-references are avoided as much as is possible, and replaced with
"this command". In some cases, we even avoid that with a slight
rewrite of the sentence or paragrah they were in. However, in the few
cases where a self-reference is still admissible, they are done in
bold, i.e. openssl-speed.pod references itself like this:
B<openssl speed>
References to other commands are done as manual links, i.e. CA.pl.pod
references 'openssl req' like this: L<openssl-req(1)>
Some commands are examples rather than references; we enclose those in
C<>.
While we are it, we abolish "utility", replacing it with "command", or
remove it entirely in some cases.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10065)
2019-10-02 01:43:36 +08:00
|
|
|
This command is used to query the status and capabilities
|
|
|
|
of the specified I<engine>s.
|
2016-05-02 01:52:58 +08:00
|
|
|
Engines may be specified before and after all other command-line flags.
|
2015-12-22 21:22:33 +08:00
|
|
|
Only those specified are queried.
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
Document most missing options
Add cmd-nits make target.
Listing options should stop when it hits the "parameters" separator.
Add missing .pod.in files to doc/man1/build.info
Tweak find-doc-nits to try openssl-XXX before XXX for POD files and
change an error messavge to be more useful.
Fix the following pages: ca, cms, crl, dgst, enc,
engine, errstr, gendsa, genrsa, list, ocsp, passwd, pkcs7, pkcs12, rand,
rehash, req, rsautil, s_server, speed, s_time,
sess_id, smime, srp, ts, x509.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10873)
2020-01-17 02:40:52 +08:00
|
|
|
=item B<-help>
|
|
|
|
|
|
|
|
Display an option summary.
|
|
|
|
|
2015-12-22 21:22:33 +08:00
|
|
|
=item B<-v> B<-vv> B<-vvv> B<-vvvv>
|
|
|
|
|
|
|
|
Provides information about each specified engine. The first flag lists
|
|
|
|
all the possible run-time control commands; the second adds a
|
|
|
|
description of each command; the third adds the input flags, and the
|
|
|
|
final option adds the internal input flags.
|
|
|
|
|
|
|
|
=item B<-c>
|
|
|
|
|
|
|
|
Lists the capabilities of each engine.
|
|
|
|
|
|
|
|
=item B<-t>
|
|
|
|
|
|
|
|
Tests if each specified engine is available, and displays the answer.
|
|
|
|
|
|
|
|
=item B<-tt>
|
|
|
|
|
|
|
|
Displays an error trace for any unavailable engine.
|
|
|
|
|
|
|
|
=item B<-pre> I<command>
|
2016-05-20 20:11:46 +08:00
|
|
|
|
2015-12-22 21:22:33 +08:00
|
|
|
=item B<-post> I<command>
|
|
|
|
|
|
|
|
Command-line configuration of engines.
|
|
|
|
The B<-pre> command is given to the engine before it is loaded and
|
|
|
|
the B<-post> command is given after the engine is loaded.
|
2019-10-02 00:16:29 +08:00
|
|
|
The I<command> is of the form I<cmd>:I<val> where I<cmd> is the command,
|
2015-12-22 21:22:33 +08:00
|
|
|
and I<val> is the value for the command.
|
|
|
|
See the example below.
|
|
|
|
|
2019-10-02 00:16:29 +08:00
|
|
|
These two options are cumulative, so they may be given more than once in the
|
|
|
|
same command.
|
|
|
|
|
2015-12-22 21:22:33 +08:00
|
|
|
=back
|
|
|
|
|
2019-08-16 02:26:08 +08:00
|
|
|
=head1 EXAMPLES
|
2015-12-22 21:22:33 +08:00
|
|
|
|
|
|
|
To list all the commands available to a dynamic engine:
|
|
|
|
|
2017-09-12 21:03:40 +08:00
|
|
|
$ openssl engine -t -tt -vvvv dynamic
|
2015-12-22 21:22:33 +08:00
|
|
|
(dynamic) Dynamic engine loading support
|
|
|
|
[ unavailable ]
|
|
|
|
SO_PATH: Specifies the path to the new ENGINE shared library
|
|
|
|
(input flags): STRING
|
|
|
|
NO_VCHECK: Specifies to continue even if version checking fails (boolean)
|
|
|
|
(input flags): NUMERIC
|
|
|
|
ID: Specifies an ENGINE id name for loading
|
|
|
|
(input flags): STRING
|
|
|
|
LIST_ADD: Whether to add a loaded ENGINE to the internal list (0=no,1=yes,2=mandatory)
|
|
|
|
(input flags): NUMERIC
|
|
|
|
DIR_LOAD: Specifies whether to load from 'DIR_ADD' directories (0=no,1=yes,2=mandatory)
|
|
|
|
(input flags): NUMERIC
|
|
|
|
DIR_ADD: Adds a directory from which ENGINEs can be loaded
|
|
|
|
(input flags): STRING
|
|
|
|
LOAD: Load up the ENGINE specified by other settings
|
|
|
|
(input flags): NO_INPUT
|
|
|
|
|
2019-10-02 02:41:53 +08:00
|
|
|
To list the capabilities of the B<rsax> engine:
|
2015-12-22 21:22:33 +08:00
|
|
|
|
2017-09-12 21:03:40 +08:00
|
|
|
$ openssl engine -c
|
2015-12-22 21:22:33 +08:00
|
|
|
(rsax) RSAX engine support
|
|
|
|
[RSA]
|
|
|
|
(dynamic) Dynamic engine loading support
|
|
|
|
|
2018-01-09 02:42:32 +08:00
|
|
|
=head1 ENVIRONMENT
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item B<OPENSSL_ENGINES>
|
|
|
|
|
|
|
|
The path to the engines directory.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2019-08-22 07:04:41 +08:00
|
|
|
L<openssl(1)>,
|
2018-01-09 02:42:32 +08:00
|
|
|
L<config(5)>
|
|
|
|
|
2016-05-18 23:44:05 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2020-04-23 20:55:52 +08:00
|
|
|
Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2016-05-18 23:44:05 +08:00
|
|
|
|
2018-12-06 21:04:11 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 23:44:05 +08:00
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|