2016-12-13 20:47:13 +08:00
|
|
|
=pod
|
|
|
|
|
2019-10-13 05:45:56 +08:00
|
|
|
=begin comment
|
|
|
|
{- join("\n", @autowarntext) -}
|
|
|
|
|
|
|
|
=end comment
|
|
|
|
|
2016-12-13 20:47:13 +08:00
|
|
|
=head1 NAME
|
|
|
|
|
2020-02-19 00:52:12 +08:00
|
|
|
openssl-storeutl - STORE command
|
2016-12-13 20:47:13 +08:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl> B<storeutl>
|
|
|
|
[B<-help>]
|
2019-09-26 03:20:11 +08:00
|
|
|
[B<-out> I<file>]
|
2016-12-13 20:47:13 +08:00
|
|
|
[B<-noout>]
|
2019-09-26 03:20:11 +08:00
|
|
|
[B<-passin> I<arg>]
|
|
|
|
[B<-text> I<arg>]
|
2017-09-12 14:02:02 +08:00
|
|
|
[B<-r>]
|
2017-07-05 22:15:48 +08:00
|
|
|
[B<-certs>]
|
|
|
|
[B<-keys>]
|
|
|
|
[B<-crls>]
|
2019-09-26 03:20:11 +08:00
|
|
|
[B<-subject> I<arg>]
|
|
|
|
[B<-issuer> I<arg>]
|
|
|
|
[B<-serial> I<arg>]
|
|
|
|
[B<-alias> I<arg>]
|
|
|
|
[B<-fingerprint> I<arg>]
|
2019-10-02 23:13:03 +08:00
|
|
|
[B<-I<digest>>]
|
2020-09-21 17:56:01 +08:00
|
|
|
{- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_provider_synopsis -}
|
2023-01-27 21:31:45 +08:00
|
|
|
I<uri>
|
2016-12-13 20:47:13 +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 can be used to display the contents (after
|
2023-01-27 21:31:45 +08:00
|
|
|
decryption as the case may be) fetched from the given URI.
|
2016-12-13 20:47:13 +08:00
|
|
|
|
2017-07-03 00:16:38 +08:00
|
|
|
=head1 OPTIONS
|
2016-12-13 20:47:13 +08:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item B<-help>
|
|
|
|
|
|
|
|
Print out a usage message.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-out> I<filename>
|
2016-12-13 20:47:13 +08:00
|
|
|
|
|
|
|
specifies the output filename to write to or standard output by
|
|
|
|
default.
|
|
|
|
|
|
|
|
=item B<-noout>
|
|
|
|
|
|
|
|
this option prevents output of the PEM data.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-passin> I<arg>
|
2016-12-13 20:47:13 +08:00
|
|
|
|
2019-10-02 00:16:29 +08:00
|
|
|
the key password source. For more information about the format of I<arg>
|
2020-12-10 04:56:51 +08:00
|
|
|
see L<openssl-passphrase-options(1)>.
|
2016-12-13 20:47:13 +08:00
|
|
|
|
|
|
|
=item B<-text>
|
|
|
|
|
|
|
|
Prints out the objects in text form, similarly to the B<-text> output from
|
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
|
|
|
L<openssl-x509(1)>, L<openssl-pkey(1)>, etc.
|
2016-12-13 20:47:13 +08:00
|
|
|
|
2017-09-12 14:02:02 +08:00
|
|
|
=item B<-r>
|
|
|
|
|
|
|
|
Fetch objects recursively when possible.
|
|
|
|
|
2017-07-05 22:15:48 +08:00
|
|
|
=item B<-certs>
|
|
|
|
|
|
|
|
=item B<-keys>
|
|
|
|
|
|
|
|
=item B<-crls>
|
|
|
|
|
|
|
|
Only select the certificates, keys or CRLs from the given URI.
|
|
|
|
However, if this URI would return a set of names (URIs), those are always
|
|
|
|
returned.
|
|
|
|
|
2023-01-27 21:31:45 +08:00
|
|
|
Note that all options must be given before the I<uri> argument.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-subject> I<arg>
|
2017-07-06 01:17:40 +08:00
|
|
|
|
2019-10-02 00:16:29 +08:00
|
|
|
Search for an object having the subject name I<arg>.
|
2020-09-02 19:52:23 +08:00
|
|
|
|
2019-10-02 02:29:52 +08:00
|
|
|
The arg must be formatted as C</type0=value0/type1=value1/type2=...>.
|
2020-09-02 19:52:23 +08:00
|
|
|
Special characters may be escaped by C<\> (backslash), whitespace is retained.
|
2018-10-05 02:49:21 +08:00
|
|
|
Empty values are permitted but are ignored for the search. That is,
|
|
|
|
a search with an empty value will have the same effect as not specifying
|
|
|
|
the type at all.
|
2020-09-02 19:52:23 +08:00
|
|
|
Giving a single C</> will lead to an empty sequence of RDNs (a NULL-DN).
|
|
|
|
Multi-valued RDNs can be formed by placing a C<+> character instead of a C</>
|
|
|
|
between the AttributeValueAssertions (AVAs) that specify the members of the set.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
C</DC=org/DC=OpenSSL/DC=users/UID=123456+CN=John Doe>
|
2017-07-06 01:17:40 +08:00
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-issuer> I<arg>
|
2017-07-06 01:17:40 +08:00
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-serial> I<arg>
|
2017-07-06 01:17:40 +08:00
|
|
|
|
|
|
|
Search for an object having the given issuer name and serial number.
|
|
|
|
These two options I<must> be used together.
|
2019-10-02 02:29:52 +08:00
|
|
|
The issuer arg must be formatted as C</type0=value0/type1=value1/type2=...>,
|
2017-07-06 01:17:40 +08:00
|
|
|
characters may be escaped by \ (backslash), no spaces are skipped.
|
|
|
|
The serial arg may be specified as a decimal value or a hex value if preceded
|
2019-10-02 02:29:52 +08:00
|
|
|
by C<0x>.
|
2017-07-06 01:17:40 +08:00
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-alias> I<arg>
|
2017-07-06 01:17:40 +08:00
|
|
|
|
|
|
|
Search for an object having the given alias.
|
|
|
|
|
2019-09-26 03:20:11 +08:00
|
|
|
=item B<-fingerprint> I<arg>
|
2017-07-06 01:17:40 +08:00
|
|
|
|
|
|
|
Search for an object having the given fingerprint.
|
|
|
|
|
2019-10-02 23:13:03 +08:00
|
|
|
=item B<-I<digest>>
|
2017-07-06 01:17:40 +08:00
|
|
|
|
|
|
|
The digest that was used to compute the fingerprint given with B<-fingerprint>.
|
|
|
|
|
2019-10-13 05:45:56 +08:00
|
|
|
{- $OpenSSL::safe::opt_engine_item -}
|
|
|
|
|
2020-02-25 12:29:30 +08:00
|
|
|
{- $OpenSSL::safe::opt_provider_item -}
|
|
|
|
|
2016-12-13 20:47:13 +08:00
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<openssl(1)>
|
|
|
|
|
|
|
|
=head1 HISTORY
|
|
|
|
|
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 was added in OpenSSL 1.1.1.
|
2016-12-13 20:47:13 +08:00
|
|
|
|
2020-06-25 09:27:51 +08:00
|
|
|
The B<-engine> option was deprecated in OpenSSL 3.0.
|
|
|
|
|
2016-12-13 20:47:13 +08:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2020-04-23 20:55:52 +08:00
|
|
|
Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2016-12-13 20:47:13 +08:00
|
|
|
|
2018-12-06 21:04:11 +08:00
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-12-13 20:47:13 +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
|