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