openssl-ts.pod.in 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. =pod
  2. =begin comment
  3. {- join("\n", @autowarntext) -}
  4. =end comment
  5. =head1 NAME
  6. openssl-ts - Time Stamping Authority tool (client/server)
  7. =head1 SYNOPSIS
  8. B<openssl> B<ts>
  9. B<-query>
  10. [B<-config> I<configfile>]
  11. [B<-data> I<file_to_hash>]
  12. [B<-digest> I<digest_bytes>]
  13. [B<-I<digest>>]
  14. [B<-tspolicy> I<object_id>]
  15. [B<-no_nonce>]
  16. [B<-cert>]
  17. [B<-in> I<request.tsq>]
  18. [B<-out> I<request.tsq>]
  19. [B<-text>]
  20. {- $OpenSSL::safe::opt_r_synopsis -}
  21. B<openssl> B<ts>
  22. B<-reply>
  23. [B<-config> I<configfile>]
  24. [B<-section> I<tsa_section>]
  25. [B<-queryfile> I<request.tsq>]
  26. [B<-passin> I<password_src>]
  27. [B<-signer> I<tsa_cert.pem>]
  28. [B<-inkey> I<file_or_id>]
  29. [B<-I<digest>>]
  30. [B<-chain> I<certs_file.pem>]
  31. [B<-tspolicy> I<object_id>]
  32. [B<-in> I<response.tsr>]
  33. [B<-token_in>]
  34. [B<-out> I<response.tsr>]
  35. [B<-token_out>]
  36. [B<-text>]
  37. [B<-engine> I<id>]
  38. B<openssl> B<ts>
  39. B<-verify>
  40. [B<-data> I<file_to_hash>]
  41. [B<-digest> I<digest_bytes>]
  42. [B<-queryfile> I<request.tsq>]
  43. [B<-in> I<response.tsr>]
  44. [B<-token_in>]
  45. [B<-CApath> I<trusted_cert_path>]
  46. [B<-CAfile> I<trusted_certs.pem>]
  47. [B<-CAstore> I<trusted_certs_uri>]
  48. [B<-untrusted> I<cert_file.pem>]
  49. [I<verify options>]
  50. I<verify options:>
  51. [B<-attime> I<timestamp>]
  52. [B<-check_ss_sig>]
  53. [B<-crl_check>]
  54. [B<-crl_check_all>]
  55. [B<-explicit_policy>]
  56. [B<-extended_crl>]
  57. [B<-ignore_critical>]
  58. [B<-inhibit_any>]
  59. [B<-inhibit_map>]
  60. [B<-issuer_checks>]
  61. [B<-no_alt_chains>]
  62. [B<-no_check_time>]
  63. [B<-partial_chain>]
  64. [B<-policy> I<arg>]
  65. [B<-policy_check>]
  66. [B<-policy_print>]
  67. [B<-purpose> I<purpose>]
  68. [B<-suiteB_128>]
  69. [B<-suiteB_128_only>]
  70. [B<-suiteB_192>]
  71. [B<-trusted_first>]
  72. [B<-use_deltas>]
  73. [B<-auth_level> I<num>]
  74. [B<-verify_depth> I<num>]
  75. [B<-verify_email> I<email>]
  76. [B<-verify_hostname> I<hostname>]
  77. [B<-verify_ip> I<ip>]
  78. [B<-verify_name> I<name>]
  79. [B<-x509_strict>]
  80. =for openssl ifdef engine
  81. =head1 DESCRIPTION
  82. This command is a basic Time Stamping Authority (TSA) client and
  83. server application as specified in RFC 3161 (Time-Stamp Protocol, TSP). A
  84. TSA can be part of a PKI deployment and its role is to provide long
  85. term proof of the existence of a certain datum before a particular
  86. time. Here is a brief description of the protocol:
  87. =over 4
  88. =item 1.
  89. The TSA client computes a one-way hash value for a data file and sends
  90. the hash to the TSA.
  91. =item 2.
  92. The TSA attaches the current date and time to the received hash value,
  93. signs them and sends the timestamp token back to the client. By
  94. creating this token the TSA certifies the existence of the original
  95. data file at the time of response generation.
  96. =item 3.
  97. The TSA client receives the timestamp token and verifies the
  98. signature on it. It also checks if the token contains the same hash
  99. value that it had sent to the TSA.
  100. =back
  101. There is one DER encoded protocol data unit defined for transporting a time
  102. stamp request to the TSA and one for sending the timestamp response
  103. back to the client. This command has three main functions:
  104. creating a timestamp request based on a data file,
  105. creating a timestamp response based on a request, verifying if a
  106. response corresponds to a particular request or a data file.
  107. There is no support for sending the requests/responses automatically
  108. over HTTP or TCP yet as suggested in RFC 3161. The users must send the
  109. requests either by ftp or e-mail.
  110. =head1 OPTIONS
  111. =head2 Timestamp Request generation
  112. The B<-query> switch can be used for creating and printing a timestamp
  113. request with the following options:
  114. =over 4
  115. =item B<-config> I<configfile>
  116. The configuration file to use.
  117. Optional; for a description of the default value,
  118. see L<openssl(1)/COMMAND SUMMARY>.
  119. =item B<-data> I<file_to_hash>
  120. The data file for which the timestamp request needs to be
  121. created. stdin is the default if neither the B<-data> nor the B<-digest>
  122. parameter is specified. (Optional)
  123. =item B<-digest> I<digest_bytes>
  124. It is possible to specify the message imprint explicitly without the data
  125. file. The imprint must be specified in a hexadecimal format, two characters
  126. per byte, the bytes optionally separated by colons (e.g. 1A:F6:01:... or
  127. 1AF601...). The number of bytes must match the message digest algorithm
  128. in use. (Optional)
  129. =item B<-I<digest>>
  130. The message digest to apply to the data file.
  131. Any digest supported by the L<openssl-dgst(1)> command can be used.
  132. The default is SHA-256. (Optional)
  133. =item B<-tspolicy> I<object_id>
  134. The policy that the client expects the TSA to use for creating the
  135. timestamp token. Either the dotted OID notation or OID names defined
  136. in the config file can be used. If no policy is requested the TSA will
  137. use its own default policy. (Optional)
  138. =item B<-no_nonce>
  139. No nonce is specified in the request if this option is
  140. given. Otherwise a 64 bit long pseudo-random none is
  141. included in the request. It is recommended to use nonce to
  142. protect against replay-attacks. (Optional)
  143. =item B<-cert>
  144. The TSA is expected to include its signing certificate in the
  145. response. (Optional)
  146. =item B<-in> I<request.tsq>
  147. This option specifies a previously created timestamp request in DER
  148. format that will be printed into the output file. Useful when you need
  149. to examine the content of a request in human-readable
  150. format. (Optional)
  151. =item B<-out> I<request.tsq>
  152. Name of the output file to which the request will be written. Default
  153. is stdout. (Optional)
  154. =item B<-text>
  155. If this option is specified the output is human-readable text format
  156. instead of DER. (Optional)
  157. {- $OpenSSL::safe::opt_r_item -}
  158. =back
  159. =head2 Timestamp Response generation
  160. A timestamp response (TimeStampResp) consists of a response status
  161. and the timestamp token itself (ContentInfo), if the token generation was
  162. successful. The B<-reply> command is for creating a timestamp
  163. response or timestamp token based on a request and printing the
  164. response/token in human-readable format. If B<-token_out> is not
  165. specified the output is always a timestamp response (TimeStampResp),
  166. otherwise it is a timestamp token (ContentInfo).
  167. =over 4
  168. =item B<-config> I<configfile>
  169. The configuration file to use.
  170. Optional; for a description of the default value,
  171. see L<openssl(1)/COMMAND SUMMARY>.
  172. See L</CONFIGURATION FILE OPTIONS> for configurable variables.
  173. =item B<-section> I<tsa_section>
  174. The name of the config file section containing the settings for the
  175. response generation. If not specified the default TSA section is
  176. used, see L</CONFIGURATION FILE OPTIONS> for details. (Optional)
  177. =item B<-queryfile> I<request.tsq>
  178. The name of the file containing a DER encoded timestamp request. (Optional)
  179. =item B<-passin> I<password_src>
  180. Specifies the password source for the private key of the TSA. See
  181. description in L<openssl(1)>. (Optional)
  182. =item B<-signer> I<tsa_cert.pem>
  183. The signer certificate of the TSA in PEM format. The TSA signing
  184. certificate must have exactly one extended key usage assigned to it:
  185. timeStamping. The extended key usage must also be critical, otherwise
  186. the certificate is going to be refused. Overrides the B<signer_cert>
  187. variable of the config file. (Optional)
  188. =item B<-inkey> I<file_or_id>
  189. The signer private key of the TSA in PEM format. Overrides the
  190. B<signer_key> config file option. (Optional)
  191. If no engine is used, the argument is taken as a file; if an engine is
  192. specified, the argument is given to the engine as a key identifier.
  193. =item B<-I<digest>>
  194. Signing digest to use. Overrides the B<signer_digest> config file
  195. option. (Mandatory unless specified in the config file)
  196. =item B<-chain> I<certs_file.pem>
  197. The collection of certificates in PEM format that will all
  198. be included in the response in addition to the signer certificate if
  199. the B<-cert> option was used for the request. This file is supposed to
  200. contain the certificate chain for the signer certificate from its
  201. issuer upwards. The B<-reply> command does not build a certificate
  202. chain automatically. (Optional)
  203. =item B<-tspolicy> I<object_id>
  204. The default policy to use for the response unless the client
  205. explicitly requires a particular TSA policy. The OID can be specified
  206. either in dotted notation or with its name. Overrides the
  207. B<default_policy> config file option. (Optional)
  208. =item B<-in> I<response.tsr>
  209. Specifies a previously created timestamp response or timestamp token
  210. (if B<-token_in> is also specified) in DER format that will be written
  211. to the output file. This option does not require a request, it is
  212. useful e.g. when you need to examine the content of a response or
  213. token or you want to extract the timestamp token from a response. If
  214. the input is a token and the output is a timestamp response a default
  215. 'granted' status info is added to the token. (Optional)
  216. =item B<-token_in>
  217. This flag can be used together with the B<-in> option and indicates
  218. that the input is a DER encoded timestamp token (ContentInfo) instead
  219. of a timestamp response (TimeStampResp). (Optional)
  220. =item B<-out> I<response.tsr>
  221. The response is written to this file. The format and content of the
  222. file depends on other options (see B<-text>, B<-token_out>). The default is
  223. stdout. (Optional)
  224. =item B<-token_out>
  225. The output is a timestamp token (ContentInfo) instead of timestamp
  226. response (TimeStampResp). (Optional)
  227. =item B<-text>
  228. If this option is specified the output is human-readable text format
  229. instead of DER. (Optional)
  230. =item B<-engine> I<id>
  231. Specifying an engine (by its unique I<id> string) will cause this command
  232. to attempt to obtain a functional reference to the specified engine,
  233. thus initialising it if needed. The engine will then be set as the default
  234. for all available algorithms. Default is built-in. (Optional)
  235. =back
  236. =head2 Timestamp Response verification
  237. The B<-verify> command is for verifying if a timestamp response or time
  238. stamp token is valid and matches a particular timestamp request or
  239. data file. The B<-verify> command does not use the configuration file.
  240. =over 4
  241. =item B<-data> I<file_to_hash>
  242. The response or token must be verified against file_to_hash. The file
  243. is hashed with the message digest algorithm specified in the token.
  244. The B<-digest> and B<-queryfile> options must not be specified with this one.
  245. (Optional)
  246. =item B<-digest> I<digest_bytes>
  247. The response or token must be verified against the message digest specified
  248. with this option. The number of bytes must match the message digest algorithm
  249. specified in the token. The B<-data> and B<-queryfile> options must not be
  250. specified with this one. (Optional)
  251. =item B<-queryfile> I<request.tsq>
  252. The original timestamp request in DER format. The B<-data> and B<-digest>
  253. options must not be specified with this one. (Optional)
  254. =item B<-in> I<response.tsr>
  255. The timestamp response that needs to be verified in DER format. (Mandatory)
  256. =item B<-token_in>
  257. This flag can be used together with the B<-in> option and indicates
  258. that the input is a DER encoded timestamp token (ContentInfo) instead
  259. of a timestamp response (TimeStampResp). (Optional)
  260. =item B<-CAfile> I<file>, B<-CApath> I<dir>, B<-CAstore> I<uri>
  261. See L<openssl(1)/Trusted Certificate Options> for more information.
  262. At least one of B<-CApath>, B<-CAfile> or B<-CAstore> must be specified.
  263. =item B<-untrusted> I<cert_file.pem>
  264. Set of additional untrusted certificates in PEM format which may be
  265. needed when building the certificate chain for the TSA's signing
  266. certificate. This file must contain the TSA signing certificate and
  267. all intermediate CA certificates unless the response includes them.
  268. (Optional)
  269. =item I<verify options>
  270. The options B<-attime>, B<-check_ss_sig>, B<-crl_check>,
  271. B<-crl_check_all>, B<-explicit_policy>, B<-extended_crl>, B<-ignore_critical>,
  272. B<-inhibit_any>, B<-inhibit_map>, B<-issuer_checks>, B<-no_alt_chains>,
  273. B<-no_check_time>, B<-partial_chain>, B<-policy>, B<-policy_check>,
  274. B<-policy_print>, B<-purpose>, B<-suiteB_128>, B<-suiteB_128_only>,
  275. B<-suiteB_192>, B<-trusted_first>, B<-use_deltas>, B<-auth_level>,
  276. B<-verify_depth>, B<-verify_email>, B<-verify_hostname>, B<-verify_ip>,
  277. B<-verify_name>, and B<-x509_strict> can be used to control timestamp
  278. verification. See L<openssl-verify(1)>.
  279. =back
  280. =head1 CONFIGURATION FILE OPTIONS
  281. The B<-query> and B<-reply> commands make use of a configuration file.
  282. See L<config(5)>
  283. for a general description of the syntax of the config file. The
  284. B<-query> command uses only the symbolic OID names section
  285. and it can work without it. However, the B<-reply> command needs the
  286. config file for its operation.
  287. When there is a command line switch equivalent of a variable the
  288. switch always overrides the settings in the config file.
  289. =over 4
  290. =item B<tsa> section, B<default_tsa>
  291. This is the main section and it specifies the name of another section
  292. that contains all the options for the B<-reply> command. This default
  293. section can be overridden with the B<-section> command line switch. (Optional)
  294. =item B<oid_file>
  295. This specifies a file containing additional B<OBJECT IDENTIFIERS>.
  296. Each line of the file should consist of the numerical form of the
  297. object identifier followed by white space then the short name followed
  298. by white space and finally the long name. (Optional)
  299. =item B<oid_section>
  300. This specifies a section in the configuration file containing extra
  301. object identifiers. Each line should consist of the short name of the
  302. object identifier followed by B<=> and the numerical form. The short
  303. and long names are the same when this option is used. (Optional)
  304. =item B<RANDFILE>
  305. At startup the specified file is loaded into the random number generator,
  306. and at exit 256 bytes will be written to it. (Note: Using a RANDFILE is
  307. not necessary anymore, see the L</HISTORY> section.
  308. =item B<serial>
  309. The name of the file containing the hexadecimal serial number of the
  310. last timestamp response created. This number is incremented by 1 for
  311. each response. If the file does not exist at the time of response
  312. generation a new file is created with serial number 1. (Mandatory)
  313. =item B<crypto_device>
  314. Specifies the OpenSSL engine that will be set as the default for
  315. all available algorithms. The default value is built-in, you can specify
  316. any other engines supported by OpenSSL (e.g. use chil for the NCipher HSM).
  317. (Optional)
  318. =item B<signer_cert>
  319. TSA signing certificate in PEM format. The same as the B<-signer>
  320. command line option. (Optional)
  321. =item B<certs>
  322. A file containing a set of PEM encoded certificates that need to be
  323. included in the response. The same as the B<-chain> command line
  324. option. (Optional)
  325. =item B<signer_key>
  326. The private key of the TSA in PEM format. The same as the B<-inkey>
  327. command line option. (Optional)
  328. =item B<signer_digest>
  329. Signing digest to use. The same as the
  330. B<-I<digest>> command line option. (Mandatory unless specified on the command
  331. line)
  332. =item B<default_policy>
  333. The default policy to use when the request does not mandate any
  334. policy. The same as the B<-tspolicy> command line option. (Optional)
  335. =item B<other_policies>
  336. Comma separated list of policies that are also acceptable by the TSA
  337. and used only if the request explicitly specifies one of them. (Optional)
  338. =item B<digests>
  339. The list of message digest algorithms that the TSA accepts. At least
  340. one algorithm must be specified. (Mandatory)
  341. =item B<accuracy>
  342. The accuracy of the time source of the TSA in seconds, milliseconds
  343. and microseconds. E.g. secs:1, millisecs:500, microsecs:100. If any of
  344. the components is missing zero is assumed for that field. (Optional)
  345. =item B<clock_precision_digits>
  346. Specifies the maximum number of digits, which represent the fraction of
  347. seconds, that need to be included in the time field. The trailing zeros
  348. must be removed from the time, so there might actually be fewer digits,
  349. or no fraction of seconds at all. Supported only on UNIX platforms.
  350. The maximum value is 6, default is 0.
  351. (Optional)
  352. =item B<ordering>
  353. If this option is yes the responses generated by this TSA can always
  354. be ordered, even if the time difference between two responses is less
  355. than the sum of their accuracies. Default is no. (Optional)
  356. =item B<tsa_name>
  357. Set this option to yes if the subject name of the TSA must be included in
  358. the TSA name field of the response. Default is no. (Optional)
  359. =item B<ess_cert_id_chain>
  360. The SignedData objects created by the TSA always contain the
  361. certificate identifier of the signing certificate in a signed
  362. attribute (see RFC 2634, Enhanced Security Services). If this option
  363. is set to yes and either the B<certs> variable or the B<-chain> option
  364. is specified then the certificate identifiers of the chain will also
  365. be included in the SigningCertificate signed attribute. If this
  366. variable is set to no, only the signing certificate identifier is
  367. included. Default is no. (Optional)
  368. =item B<ess_cert_id_alg>
  369. This option specifies the hash function to be used to calculate the TSA's
  370. public key certificate identifier. Default is sha256. (Optional)
  371. =back
  372. =head1 EXAMPLES
  373. All the examples below presume that B<OPENSSL_CONF> is set to a proper
  374. configuration file, e.g. the example configuration file
  375. F<openssl/apps/openssl.cnf> will do.
  376. =head2 Timestamp Request
  377. To create a timestamp request for F<design1.txt> with SHA-256 digest,
  378. without nonce and policy, and without requirement for a certificate
  379. in the response:
  380. openssl ts -query -data design1.txt -no_nonce \
  381. -out design1.tsq
  382. To create a similar timestamp request with specifying the message imprint
  383. explicitly:
  384. openssl ts -query -digest b7e5d3f93198b38379852f2c04e78d73abdd0f4b \
  385. -no_nonce -out design1.tsq
  386. To print the content of the previous request in human readable format:
  387. openssl ts -query -in design1.tsq -text
  388. To create a timestamp request which includes the SHA-512 digest
  389. of F<design2.txt>, requests the signer certificate and nonce, and
  390. specifies a policy id (assuming the tsa_policy1 name is defined in the
  391. OID section of the config file):
  392. openssl ts -query -data design2.txt -sha512 \
  393. -tspolicy tsa_policy1 -cert -out design2.tsq
  394. =head2 Timestamp Response
  395. Before generating a response a signing certificate must be created for
  396. the TSA that contains the B<timeStamping> critical extended key usage extension
  397. without any other key usage extensions. You can add this line to the
  398. user certificate section of the config file to generate a proper certificate;
  399. extendedKeyUsage = critical,timeStamping
  400. See L<openssl-req(1)>, L<openssl-ca(1)>, and L<openssl-x509(1)> for
  401. instructions. The examples below assume that F<cacert.pem> contains the
  402. certificate of the CA, F<tsacert.pem> is the signing certificate issued
  403. by F<cacert.pem> and F<tsakey.pem> is the private key of the TSA.
  404. To create a timestamp response for a request:
  405. openssl ts -reply -queryfile design1.tsq -inkey tsakey.pem \
  406. -signer tsacert.pem -out design1.tsr
  407. If you want to use the settings in the config file you could just write:
  408. openssl ts -reply -queryfile design1.tsq -out design1.tsr
  409. To print a timestamp reply to stdout in human readable format:
  410. openssl ts -reply -in design1.tsr -text
  411. To create a timestamp token instead of timestamp response:
  412. openssl ts -reply -queryfile design1.tsq -out design1_token.der -token_out
  413. To print a timestamp token to stdout in human readable format:
  414. openssl ts -reply -in design1_token.der -token_in -text -token_out
  415. To extract the timestamp token from a response:
  416. openssl ts -reply -in design1.tsr -out design1_token.der -token_out
  417. To add 'granted' status info to a timestamp token thereby creating a
  418. valid response:
  419. openssl ts -reply -in design1_token.der -token_in -out design1.tsr
  420. =head2 Timestamp Verification
  421. To verify a timestamp reply against a request:
  422. openssl ts -verify -queryfile design1.tsq -in design1.tsr \
  423. -CAfile cacert.pem -untrusted tsacert.pem
  424. To verify a timestamp reply that includes the certificate chain:
  425. openssl ts -verify -queryfile design2.tsq -in design2.tsr \
  426. -CAfile cacert.pem
  427. To verify a timestamp token against the original data file:
  428. openssl ts -verify -data design2.txt -in design2.tsr \
  429. -CAfile cacert.pem
  430. To verify a timestamp token against a message imprint:
  431. openssl ts -verify -digest b7e5d3f93198b38379852f2c04e78d73abdd0f4b \
  432. -in design2.tsr -CAfile cacert.pem
  433. You could also look at the 'test' directory for more examples.
  434. =head1 BUGS
  435. =for openssl foreign manuals: procmail(1), perl(1)
  436. =over 2
  437. =item *
  438. No support for timestamps over SMTP, though it is quite easy
  439. to implement an automatic e-mail based TSA with L<procmail(1)>
  440. and L<perl(1)>. HTTP server support is provided in the form of
  441. a separate apache module. HTTP client support is provided by
  442. L<tsget(1)>. Pure TCP/IP protocol is not supported.
  443. =item *
  444. The file containing the last serial number of the TSA is not
  445. locked when being read or written. This is a problem if more than one
  446. instance of L<openssl(1)> is trying to create a timestamp
  447. response at the same time. This is not an issue when using the apache
  448. server module, it does proper locking.
  449. =item *
  450. Look for the FIXME word in the source files.
  451. =item *
  452. The source code should really be reviewed by somebody else, too.
  453. =item *
  454. More testing is needed, I have done only some basic tests (see
  455. test/testtsa).
  456. =back
  457. =head1 HISTORY
  458. OpenSSL 1.1.1 introduced a new random generator (CSPRNG) with an improved
  459. seeding mechanism. The new seeding mechanism makes it unnecessary to
  460. define a RANDFILE for saving and restoring randomness. This option is
  461. retained mainly for compatibility reasons.
  462. =head1 SEE ALSO
  463. L<openssl(1)>,
  464. L<openssl-tsget(1)>,
  465. L<openssl-req(1)>,
  466. L<openssl-x509(1)>,
  467. L<openssl-ca(1)>,
  468. L<openssl-genrsa(1)>,
  469. L<config(5)>,
  470. L<ossl_store-file(7)>
  471. =head1 COPYRIGHT
  472. Copyright 2006-2019 The OpenSSL Project Authors. All Rights Reserved.
  473. Licensed under the Apache License 2.0 (the "License"). You may not use
  474. this file except in compliance with the License. You can obtain a copy
  475. in the file LICENSE in the source distribution or at
  476. L<https://www.openssl.org/source/license.html>.
  477. =cut