2016-12-13 20:47:13 +08:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
2017-10-19 03:33:56 +08:00
|
|
|
openssl-storeutl,
|
2016-12-13 20:47:13 +08:00
|
|
|
storeutl - STORE utility
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl> B<storeutl>
|
|
|
|
[B<-help>]
|
|
|
|
[B<-out file>]
|
|
|
|
[B<-noout>]
|
|
|
|
[B<-passin arg>]
|
|
|
|
[B<-text arg>]
|
|
|
|
[B<-engine id>]
|
2017-09-12 14:02:02 +08:00
|
|
|
[B<-r>]
|
2017-07-05 22:15:48 +08:00
|
|
|
[B<-certs>]
|
|
|
|
[B<-keys>]
|
|
|
|
[B<-crls>]
|
2017-07-06 01:17:40 +08:00
|
|
|
[B<-subject arg>]
|
|
|
|
[B<-issuer arg>]
|
|
|
|
[B<-serial arg>]
|
|
|
|
[B<-alias arg>]
|
|
|
|
[B<-fingerprint arg>]
|
|
|
|
[B<-I<digest>>]
|
2016-12-13 20:47:13 +08:00
|
|
|
B<uri> ...
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
The B<storeutl> command can be used to display the contents (after decryption
|
|
|
|
as the case may be) fetched from the given URIs.
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
=item B<-out filename>
|
|
|
|
|
|
|
|
specifies the output filename to write to or standard output by
|
|
|
|
default.
|
|
|
|
|
|
|
|
=item B<-noout>
|
|
|
|
|
|
|
|
this option prevents output of the PEM data.
|
|
|
|
|
|
|
|
=item B<-passin arg>
|
|
|
|
|
|
|
|
the key password source. For more information about the format of B<arg>
|
|
|
|
see the B<PASS PHRASE ARGUMENTS> section in L<openssl(1)>.
|
|
|
|
|
|
|
|
=item B<-text>
|
|
|
|
|
|
|
|
Prints out the objects in text form, similarly to the B<-text> output from
|
|
|
|
B<openssl x509>, B<openssl pkey>, etc.
|
|
|
|
|
|
|
|
=item B<-engine id>
|
|
|
|
|
|
|
|
specifying an engine (by its unique B<id> string) will cause B<storeutl>
|
|
|
|
to attempt to obtain a functional reference to the specified engine,
|
|
|
|
thus initialising it if needed.
|
|
|
|
The engine will then be set as the default for all available algorithms.
|
|
|
|
|
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.
|
|
|
|
|
2017-07-06 01:17:40 +08:00
|
|
|
=item B<-subject arg>
|
|
|
|
|
|
|
|
Search for an object having the subject name B<arg>.
|
2018-10-05 02:49:21 +08:00
|
|
|
The arg must be formatted as I</type0=value0/type1=value1/type2=...>.
|
|
|
|
Keyword characters may be escaped by \ (backslash), and whitespace is retained.
|
|
|
|
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.
|
2017-07-06 01:17:40 +08:00
|
|
|
|
|
|
|
=item B<-issuer arg>
|
|
|
|
|
|
|
|
=item B<-serial arg>
|
|
|
|
|
|
|
|
Search for an object having the given issuer name and serial number.
|
|
|
|
These two options I<must> be used together.
|
|
|
|
The issuer arg must be formatted as I</type0=value0/type1=value1/type2=...>,
|
|
|
|
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
|
|
|
|
by B<0x>.
|
|
|
|
|
|
|
|
=item B<-alias arg>
|
|
|
|
|
|
|
|
Search for an object having the given alias.
|
|
|
|
|
|
|
|
=item B<-fingerprint arg>
|
|
|
|
|
|
|
|
Search for an object having the given fingerprint.
|
|
|
|
|
|
|
|
=item B<-I<digest>>
|
|
|
|
|
|
|
|
The digest that was used to compute the fingerprint given with B<-fingerprint>.
|
|
|
|
|
2016-12-13 20:47:13 +08:00
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<openssl(1)>
|
|
|
|
|
|
|
|
=head1 HISTORY
|
|
|
|
|
2018-12-09 08:02:36 +08:00
|
|
|
The B<openssl> B<storeutl> app was added in OpenSSL 1.1.1.
|
2016-12-13 20:47:13 +08:00
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2017-07-05 22:15:48 +08:00
|
|
|
Copyright 2016-2018 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
|