]> git.ipfire.org Git - thirdparty/openssl.git/blob - doc/man1/openssl-storeutl.pod.in
Add/harmonize multi-valued RDN support and doc of ca, cmp, req, storeutl, and x509...
[thirdparty/openssl.git] / doc / man1 / openssl-storeutl.pod.in
1 =pod
2
3 =begin comment
4 {- join("\n", @autowarntext) -}
5
6 =end comment
7
8 =head1 NAME
9
10 openssl-storeutl - STORE command
11
12 =head1 SYNOPSIS
13
14 B<openssl> B<storeutl>
15 [B<-help>]
16 [B<-out> I<file>]
17 [B<-noout>]
18 [B<-passin> I<arg>]
19 [B<-text> I<arg>]
20 [B<-r>]
21 [B<-certs>]
22 [B<-keys>]
23 [B<-crls>]
24 [B<-subject> I<arg>]
25 [B<-issuer> I<arg>]
26 [B<-serial> I<arg>]
27 [B<-alias> I<arg>]
28 [B<-fingerprint> I<arg>]
29 [B<-I<digest>>]
30 {- $OpenSSL::safe::opt_engine_synopsis -}
31 {- $OpenSSL::safe::opt_provider_synopsis -}
32 I<uri> ...
33
34 =head1 DESCRIPTION
35
36 This command can be used to display the contents (after
37 decryption as the case may be) fetched from the given URIs.
38
39 =head1 OPTIONS
40
41 =over 4
42
43 =item B<-help>
44
45 Print out a usage message.
46
47 =item B<-out> I<filename>
48
49 specifies the output filename to write to or standard output by
50 default.
51
52 =item B<-noout>
53
54 this option prevents output of the PEM data.
55
56 =item B<-passin> I<arg>
57
58 the key password source. For more information about the format of I<arg>
59 see L<openssl(1)/Pass Phrase Options>.
60
61 =item B<-text>
62
63 Prints out the objects in text form, similarly to the B<-text> output from
64 L<openssl-x509(1)>, L<openssl-pkey(1)>, etc.
65
66 =item B<-r>
67
68 Fetch objects recursively when possible.
69
70 =item B<-certs>
71
72 =item B<-keys>
73
74 =item B<-crls>
75
76 Only select the certificates, keys or CRLs from the given URI.
77 However, if this URI would return a set of names (URIs), those are always
78 returned.
79
80 =item B<-subject> I<arg>
81
82 Search for an object having the subject name I<arg>.
83
84 The arg must be formatted as C</type0=value0/type1=value1/type2=...>.
85 Special characters may be escaped by C<\> (backslash), whitespace is retained.
86 Empty values are permitted but are ignored for the search. That is,
87 a search with an empty value will have the same effect as not specifying
88 the type at all.
89 Giving a single C</> will lead to an empty sequence of RDNs (a NULL-DN).
90 Multi-valued RDNs can be formed by placing a C<+> character instead of a C</>
91 between the AttributeValueAssertions (AVAs) that specify the members of the set.
92
93 Example:
94
95 C</DC=org/DC=OpenSSL/DC=users/UID=123456+CN=John Doe>
96
97 =item B<-issuer> I<arg>
98
99 =item B<-serial> I<arg>
100
101 Search for an object having the given issuer name and serial number.
102 These two options I<must> be used together.
103 The issuer arg must be formatted as C</type0=value0/type1=value1/type2=...>,
104 characters may be escaped by \ (backslash), no spaces are skipped.
105 The serial arg may be specified as a decimal value or a hex value if preceded
106 by C<0x>.
107
108 =item B<-alias> I<arg>
109
110 Search for an object having the given alias.
111
112 =item B<-fingerprint> I<arg>
113
114 Search for an object having the given fingerprint.
115
116 =item B<-I<digest>>
117
118 The digest that was used to compute the fingerprint given with B<-fingerprint>.
119
120 {- $OpenSSL::safe::opt_engine_item -}
121
122 {- $OpenSSL::safe::opt_provider_item -}
123
124 =back
125
126 =head1 SEE ALSO
127
128 L<openssl(1)>
129
130 =head1 HISTORY
131
132 This command was added in OpenSSL 1.1.1.
133
134 The B<-engine> option was deprecated in OpenSSL 3.0.
135
136 =head1 COPYRIGHT
137
138 Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
139
140 Licensed under the Apache License 2.0 (the "License"). You may not use
141 this file except in compliance with the License. You can obtain a copy
142 in the file LICENSE in the source distribution or at
143 L<https://www.openssl.org/source/license.html>.
144
145 =cut