openssl-pkcs8.1ossl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. .\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
  2. .\"
  3. .\" Standard preamble:
  4. .\" ========================================================================
  5. .de Sp \" Vertical space (when we can't use .PP)
  6. .if t .sp .5v
  7. .if n .sp
  8. ..
  9. .de Vb \" Begin verbatim text
  10. .ft CW
  11. .nf
  12. .ne \\$1
  13. ..
  14. .de Ve \" End verbatim text
  15. .ft R
  16. .fi
  17. ..
  18. .\" Set up some character translations and predefined strings. \*(-- will
  19. .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
  20. .\" double quote, and \*(R" will give a right double quote. \*(C+ will
  21. .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
  22. .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
  23. .\" nothing in troff, for use with C<>.
  24. .tr \(*W-
  25. .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
  26. .ie n \{\
  27. . ds -- \(*W-
  28. . ds PI pi
  29. . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
  30. . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
  31. . ds L" ""
  32. . ds R" ""
  33. . ds C` ""
  34. . ds C' ""
  35. 'br\}
  36. .el\{\
  37. . ds -- \|\(em\|
  38. . ds PI \(*p
  39. . ds L" ``
  40. . ds R" ''
  41. . ds C`
  42. . ds C'
  43. 'br\}
  44. .\"
  45. .\" Escape single quotes in literal strings from groff's Unicode transform.
  46. .ie \n(.g .ds Aq \(aq
  47. .el .ds Aq '
  48. .\"
  49. .\" If the F register is >0, we'll generate index entries on stderr for
  50. .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
  51. .\" entries marked with X<> in POD. Of course, you'll have to process the
  52. .\" output yourself in some meaningful fashion.
  53. .\"
  54. .\" Avoid warning from groff about undefined register 'F'.
  55. .de IX
  56. ..
  57. .nr rF 0
  58. .if \n(.g .if rF .nr rF 1
  59. .if (\n(rF:(\n(.g==0)) \{\
  60. . if \nF \{\
  61. . de IX
  62. . tm Index:\\$1\t\\n%\t"\\$2"
  63. ..
  64. . if !\nF==2 \{\
  65. . nr % 0
  66. . nr F 2
  67. . \}
  68. . \}
  69. .\}
  70. .rr rF
  71. .\"
  72. .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
  73. .\" Fear. Run. Save yourself. No user-serviceable parts.
  74. . \" fudge factors for nroff and troff
  75. .if n \{\
  76. . ds #H 0
  77. . ds #V .8m
  78. . ds #F .3m
  79. . ds #[ \f1
  80. . ds #] \fP
  81. .\}
  82. .if t \{\
  83. . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
  84. . ds #V .6m
  85. . ds #F 0
  86. . ds #[ \&
  87. . ds #] \&
  88. .\}
  89. . \" simple accents for nroff and troff
  90. .if n \{\
  91. . ds ' \&
  92. . ds ` \&
  93. . ds ^ \&
  94. . ds , \&
  95. . ds ~ ~
  96. . ds /
  97. .\}
  98. .if t \{\
  99. . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
  100. . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
  101. . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
  102. . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
  103. . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
  104. . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
  105. .\}
  106. . \" troff and (daisy-wheel) nroff accents
  107. .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
  108. .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
  109. .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
  110. .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
  111. .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
  112. .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
  113. .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
  114. .ds ae a\h'-(\w'a'u*4/10)'e
  115. .ds Ae A\h'-(\w'A'u*4/10)'E
  116. . \" corrections for vroff
  117. .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
  118. .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
  119. . \" for low resolution devices (crt and lpr)
  120. .if \n(.H>23 .if \n(.V>19 \
  121. \{\
  122. . ds : e
  123. . ds 8 ss
  124. . ds o a
  125. . ds d- d\h'-1'\(ga
  126. . ds D- D\h'-1'\(hy
  127. . ds th \o'bp'
  128. . ds Th \o'LP'
  129. . ds ae ae
  130. . ds Ae AE
  131. .\}
  132. .rm #[ #] #H #V #F C
  133. .\" ========================================================================
  134. .\"
  135. .IX Title "OPENSSL-PKCS8 1ossl"
  136. .TH OPENSSL-PKCS8 1ossl "2025-06-29" "3.3.2" "OpenSSL"
  137. .\" For nroff, turn off justification. Always turn off hyphenation; it makes
  138. .\" way too many mistakes in technical documents.
  139. .if n .ad l
  140. .nh
  141. .SH "NAME"
  142. openssl\-pkcs8 \- PKCS#8 format private key conversion command
  143. .SH "SYNOPSIS"
  144. .IX Header "SYNOPSIS"
  145. \&\fBopenssl\fR \fBpkcs8\fR
  146. [\fB\-help\fR]
  147. [\fB\-topk8\fR]
  148. [\fB\-inform\fR \fB\s-1DER\s0\fR|\fB\s-1PEM\s0\fR]
  149. [\fB\-outform\fR \fB\s-1DER\s0\fR|\fB\s-1PEM\s0\fR]
  150. [\fB\-in\fR \fIfilename\fR]
  151. [\fB\-passin\fR \fIarg\fR]
  152. [\fB\-out\fR \fIfilename\fR]
  153. [\fB\-passout\fR \fIarg\fR]
  154. [\fB\-iter\fR \fIcount\fR]
  155. [\fB\-noiter\fR]
  156. [\fB\-nocrypt\fR]
  157. [\fB\-traditional\fR]
  158. [\fB\-v2\fR \fIalg\fR]
  159. [\fB\-v2prf\fR \fIalg\fR]
  160. [\fB\-v1\fR \fIalg\fR]
  161. [\fB\-scrypt\fR]
  162. [\fB\-scrypt_N\fR \fIN\fR]
  163. [\fB\-scrypt_r\fR \fIr\fR]
  164. [\fB\-scrypt_p\fR \fIp\fR]
  165. [\fB\-saltlen\fR \fIsize\fR]
  166. [\fB\-rand\fR \fIfiles\fR]
  167. [\fB\-writerand\fR \fIfile\fR]
  168. [\fB\-engine\fR \fIid\fR]
  169. [\fB\-provider\fR \fIname\fR]
  170. [\fB\-provider\-path\fR \fIpath\fR]
  171. [\fB\-propquery\fR \fIpropq\fR]
  172. .SH "DESCRIPTION"
  173. .IX Header "DESCRIPTION"
  174. This command processes private keys in PKCS#8 format. It can handle
  175. both unencrypted PKCS#8 PrivateKeyInfo format and EncryptedPrivateKeyInfo
  176. format with a variety of PKCS#5 (v1.5 and v2.0) and PKCS#12 algorithms.
  177. .SH "OPTIONS"
  178. .IX Header "OPTIONS"
  179. .IP "\fB\-help\fR" 4
  180. .IX Item "-help"
  181. Print out a usage message.
  182. .IP "\fB\-topk8\fR" 4
  183. .IX Item "-topk8"
  184. Normally a PKCS#8 private key is expected on input and a private key will be
  185. written to the output file. With the \fB\-topk8\fR option the situation is
  186. reversed: it reads a private key and writes a PKCS#8 format key.
  187. .IP "\fB\-inform\fR \fB\s-1DER\s0\fR|\fB\s-1PEM\s0\fR, \fB\-outform\fR \fB\s-1DER\s0\fR|\fB\s-1PEM\s0\fR" 4
  188. .IX Item "-inform DER|PEM, -outform DER|PEM"
  189. The input and formats; the default is \fB\s-1PEM\s0\fR.
  190. See \fBopenssl\-format\-options\fR\|(1) for details.
  191. .Sp
  192. If a key is being converted from PKCS#8 form (i.e. the \fB\-topk8\fR option is
  193. not used) then the input file must be in PKCS#8 format. An encrypted
  194. key is expected unless \fB\-nocrypt\fR is included.
  195. .Sp
  196. If \fB\-topk8\fR is not used and \fB\s-1PEM\s0\fR mode is set the output file will be an
  197. unencrypted private key in PKCS#8 format. If the \fB\-traditional\fR option is
  198. used then a traditional format private key is written instead.
  199. .Sp
  200. If \fB\-topk8\fR is not used and \fB\s-1DER\s0\fR mode is set the output file will be an
  201. unencrypted private key in traditional \s-1DER\s0 format.
  202. .Sp
  203. If \fB\-topk8\fR is used then any supported private key can be used for the input
  204. file in a format specified by \fB\-inform\fR. The output file will be encrypted
  205. PKCS#8 format using the specified encryption parameters unless \fB\-nocrypt\fR
  206. is included.
  207. .IP "\fB\-traditional\fR" 4
  208. .IX Item "-traditional"
  209. When this option is present and \fB\-topk8\fR is not a traditional format private
  210. key is written.
  211. .IP "\fB\-in\fR \fIfilename\fR" 4
  212. .IX Item "-in filename"
  213. This specifies the input filename to read a key from or standard input if this
  214. option is not specified. If the key is encrypted a pass phrase will be
  215. prompted for.
  216. .IP "\fB\-passin\fR \fIarg\fR, \fB\-passout\fR \fIarg\fR" 4
  217. .IX Item "-passin arg, -passout arg"
  218. The password source for the input and output file.
  219. For more information about the format of \fBarg\fR
  220. see \fBopenssl\-passphrase\-options\fR\|(1).
  221. .IP "\fB\-out\fR \fIfilename\fR" 4
  222. .IX Item "-out filename"
  223. This specifies the output filename to write a key to or standard output by
  224. default. If any encryption options are set then a pass phrase will be
  225. prompted for. The output filename should \fBnot\fR be the same as the input
  226. filename.
  227. .IP "\fB\-iter\fR \fIcount\fR" 4
  228. .IX Item "-iter count"
  229. When creating new PKCS#8 containers, use a given number of iterations on
  230. the password in deriving the encryption key for the PKCS#8 output.
  231. High values increase the time required to brute-force a PKCS#8 container.
  232. .IP "\fB\-noiter\fR" 4
  233. .IX Item "-noiter"
  234. When creating new PKCS#8 containers, use 1 as iteration count.
  235. .IP "\fB\-nocrypt\fR" 4
  236. .IX Item "-nocrypt"
  237. PKCS#8 keys generated or input are normally PKCS#8 EncryptedPrivateKeyInfo
  238. structures using an appropriate password based encryption algorithm. With
  239. this option an unencrypted PrivateKeyInfo structure is expected or output.
  240. This option does not encrypt private keys at all and should only be used
  241. when absolutely necessary. Certain software such as some versions of Java
  242. code signing software used unencrypted private keys.
  243. .IP "\fB\-v2\fR \fIalg\fR" 4
  244. .IX Item "-v2 alg"
  245. This option sets the PKCS#5 v2.0 algorithm.
  246. .Sp
  247. The \fIalg\fR argument is the encryption algorithm to use, valid values include
  248. \&\fBaes128\fR, \fBaes256\fR and \fBdes3\fR. If this option isn't specified then \fBaes256\fR
  249. is used.
  250. .IP "\fB\-v2prf\fR \fIalg\fR" 4
  251. .IX Item "-v2prf alg"
  252. This option sets the \s-1PRF\s0 algorithm to use with PKCS#5 v2.0. A typical value
  253. value would be \fBhmacWithSHA256\fR. If this option isn't set then the default
  254. for the cipher is used or \fBhmacWithSHA256\fR if there is no default.
  255. .Sp
  256. Some implementations may not support custom \s-1PRF\s0 algorithms and may require
  257. the \fBhmacWithSHA1\fR option to work.
  258. .IP "\fB\-v1\fR \fIalg\fR" 4
  259. .IX Item "-v1 alg"
  260. This option indicates a PKCS#5 v1.5 or PKCS#12 algorithm should be used. Some
  261. older implementations may not support PKCS#5 v2.0 and may require this option.
  262. If not specified PKCS#5 v2.0 form is used.
  263. .IP "\fB\-scrypt\fR" 4
  264. .IX Item "-scrypt"
  265. Uses the \fBscrypt\fR algorithm for private key encryption using default
  266. parameters: currently N=16384, r=8 and p=1 and \s-1AES\s0 in \s-1CBC\s0 mode with a 256 bit
  267. key. These parameters can be modified using the \fB\-scrypt_N\fR, \fB\-scrypt_r\fR,
  268. \&\fB\-scrypt_p\fR and \fB\-v2\fR options.
  269. .IP "\fB\-scrypt_N\fR \fIN\fR, \fB\-scrypt_r\fR \fIr\fR, \fB\-scrypt_p\fR \fIp\fR" 4
  270. .IX Item "-scrypt_N N, -scrypt_r r, -scrypt_p p"
  271. Sets the scrypt \fIN\fR, \fIr\fR or \fIp\fR parameters.
  272. .IP "\fB\-saltlen\fR" 4
  273. .IX Item "-saltlen"
  274. Sets the length (in bytes) of the salt to use for the \s-1PBE\s0 algorithm.
  275. If this value is not specified, the default for \s-1PBES2\s0 is 16 (128 bits)
  276. and 8 (64 bits) for \s-1PBES1.\s0
  277. .IP "\fB\-rand\fR \fIfiles\fR, \fB\-writerand\fR \fIfile\fR" 4
  278. .IX Item "-rand files, -writerand file"
  279. See \*(L"Random State Options\*(R" in \fBopenssl\fR\|(1) for details.
  280. .IP "\fB\-engine\fR \fIid\fR" 4
  281. .IX Item "-engine id"
  282. See \*(L"Engine Options\*(R" in \fBopenssl\fR\|(1).
  283. This option is deprecated.
  284. .IP "\fB\-provider\fR \fIname\fR" 4
  285. .IX Item "-provider name"
  286. .PD 0
  287. .IP "\fB\-provider\-path\fR \fIpath\fR" 4
  288. .IX Item "-provider-path path"
  289. .IP "\fB\-propquery\fR \fIpropq\fR" 4
  290. .IX Item "-propquery propq"
  291. .PD
  292. See \*(L"Provider Options\*(R" in \fBopenssl\fR\|(1), \fBprovider\fR\|(7), and \fBproperty\fR\|(7).
  293. .SH "NOTES"
  294. .IX Header "NOTES"
  295. By default, when converting a key to PKCS#8 format, PKCS#5 v2.0 using 256 bit
  296. \&\s-1AES\s0 with \s-1HMAC\s0 and \s-1SHA256\s0 is used.
  297. .PP
  298. Some older implementations do not support PKCS#5 v2.0 format and require
  299. the older PKCS#5 v1.5 form instead, possibly also requiring insecure weak
  300. encryption algorithms such as 56 bit \s-1DES.\s0
  301. .PP
  302. Private keys encrypted using PKCS#5 v2.0 algorithms and high iteration
  303. counts are more secure that those encrypted using the traditional
  304. SSLeay compatible formats. So if additional security is considered
  305. important the keys should be converted.
  306. .PP
  307. It is possible to write out \s-1DER\s0 encoded encrypted private keys in
  308. PKCS#8 format because the encryption details are included at an \s-1ASN1\s0
  309. level whereas the traditional format includes them at a \s-1PEM\s0 level.
  310. .SH "PKCS#5 V1.5 AND PKCS#12 ALGORITHMS"
  311. .IX Header "PKCS#5 V1.5 AND PKCS#12 ALGORITHMS"
  312. Various algorithms can be used with the \fB\-v1\fR command line option,
  313. including PKCS#5 v1.5 and PKCS#12. These are described in more detail
  314. below.
  315. .IP "\fB\s-1PBE\-MD2\-DES PBE\-MD5\-DES\s0\fR" 4
  316. .IX Item "PBE-MD2-DES PBE-MD5-DES"
  317. These algorithms were included in the original PKCS#5 v1.5 specification.
  318. They only offer 56 bits of protection since they both use \s-1DES.\s0
  319. .IP "\fB\s-1PBE\-SHA1\-RC2\-64\s0\fR, \fB\s-1PBE\-MD2\-RC2\-64\s0\fR, \fB\s-1PBE\-MD5\-RC2\-64\s0\fR, \fB\s-1PBE\-SHA1\-DES\s0\fR" 4
  320. .IX Item "PBE-SHA1-RC2-64, PBE-MD2-RC2-64, PBE-MD5-RC2-64, PBE-SHA1-DES"
  321. These algorithms are not mentioned in the original PKCS#5 v1.5 specification
  322. but they use the same key derivation algorithm and are supported by some
  323. software. They are mentioned in PKCS#5 v2.0. They use either 64 bit \s-1RC2\s0 or
  324. 56 bit \s-1DES.\s0
  325. .IP "\fB\s-1PBE\-SHA1\-RC4\-128\s0\fR, \fB\s-1PBE\-SHA1\-RC4\-40\s0\fR, \fB\s-1PBE\-SHA1\-3DES\s0\fR, \fB\s-1PBE\-SHA1\-2DES\s0\fR, \fB\s-1PBE\-SHA1\-RC2\-128\s0\fR, \fB\s-1PBE\-SHA1\-RC2\-40\s0\fR" 4
  326. .IX Item "PBE-SHA1-RC4-128, PBE-SHA1-RC4-40, PBE-SHA1-3DES, PBE-SHA1-2DES, PBE-SHA1-RC2-128, PBE-SHA1-RC2-40"
  327. These algorithms use the PKCS#12 password based encryption algorithm and
  328. allow strong encryption algorithms like triple \s-1DES\s0 or 128 bit \s-1RC2\s0 to be used.
  329. .SH "EXAMPLES"
  330. .IX Header "EXAMPLES"
  331. Convert a private key to PKCS#8 format using default parameters (\s-1AES\s0 with
  332. 256 bit key and \fBhmacWithSHA256\fR):
  333. .PP
  334. .Vb 1
  335. \& openssl pkcs8 \-in key.pem \-topk8 \-out enckey.pem
  336. .Ve
  337. .PP
  338. Convert a private key to PKCS#8 unencrypted format:
  339. .PP
  340. .Vb 1
  341. \& openssl pkcs8 \-in key.pem \-topk8 \-nocrypt \-out enckey.pem
  342. .Ve
  343. .PP
  344. Convert a private key to PKCS#5 v2.0 format using triple \s-1DES:\s0
  345. .PP
  346. .Vb 1
  347. \& openssl pkcs8 \-in key.pem \-topk8 \-v2 des3 \-out enckey.pem
  348. .Ve
  349. .PP
  350. Convert a private key to PKCS#5 v2.0 format using \s-1AES\s0 with 256 bits in \s-1CBC\s0
  351. mode and \fBhmacWithSHA512\fR \s-1PRF:\s0
  352. .PP
  353. .Vb 1
  354. \& openssl pkcs8 \-in key.pem \-topk8 \-v2 aes\-256\-cbc \-v2prf hmacWithSHA512 \-out enckey.pem
  355. .Ve
  356. .PP
  357. Convert a private key to PKCS#8 using a PKCS#5 1.5 compatible algorithm
  358. (\s-1DES\s0):
  359. .PP
  360. .Vb 1
  361. \& openssl pkcs8 \-in key.pem \-topk8 \-v1 PBE\-MD5\-DES \-out enckey.pem
  362. .Ve
  363. .PP
  364. Convert a private key to PKCS#8 using a PKCS#12 compatible algorithm
  365. (3DES):
  366. .PP
  367. .Vb 1
  368. \& openssl pkcs8 \-in key.pem \-topk8 \-out enckey.pem \-v1 PBE\-SHA1\-3DES
  369. .Ve
  370. .PP
  371. Read a \s-1DER\s0 unencrypted PKCS#8 format private key:
  372. .PP
  373. .Vb 1
  374. \& openssl pkcs8 \-inform DER \-nocrypt \-in key.der \-out key.pem
  375. .Ve
  376. .PP
  377. Convert a private key from any PKCS#8 encrypted format to traditional format:
  378. .PP
  379. .Vb 1
  380. \& openssl pkcs8 \-in pk8.pem \-traditional \-out key.pem
  381. .Ve
  382. .PP
  383. Convert a private key to PKCS#8 format, encrypting with \s-1AES\-256\s0 and with
  384. one million iterations of the password:
  385. .PP
  386. .Vb 1
  387. \& openssl pkcs8 \-in key.pem \-topk8 \-v2 aes\-256\-cbc \-iter 1000000 \-out pk8.pem
  388. .Ve
  389. .SH "STANDARDS"
  390. .IX Header "STANDARDS"
  391. Test vectors from this PKCS#5 v2.0 implementation were posted to the
  392. pkcs-tng mailing list using triple \s-1DES, DES\s0 and \s-1RC2\s0 with high iteration
  393. counts, several people confirmed that they could decrypt the private
  394. keys produced and therefore, it can be assumed that the PKCS#5 v2.0
  395. implementation is reasonably accurate at least as far as these
  396. algorithms are concerned.
  397. .PP
  398. The format of PKCS#8 \s-1DSA\s0 (and other) private keys is not well documented:
  399. it is hidden away in PKCS#11 v2.01, section 11.9. OpenSSL's default \s-1DSA\s0
  400. PKCS#8 private key format complies with this standard.
  401. .SH "BUGS"
  402. .IX Header "BUGS"
  403. There should be an option that prints out the encryption algorithm
  404. in use and other details such as the iteration count.
  405. .SH "SEE ALSO"
  406. .IX Header "SEE ALSO"
  407. \&\fBopenssl\fR\|(1),
  408. \&\fBopenssl\-dsa\fR\|(1),
  409. \&\fBopenssl\-rsa\fR\|(1),
  410. \&\fBopenssl\-genrsa\fR\|(1),
  411. \&\fBopenssl\-gendsa\fR\|(1)
  412. .SH "HISTORY"
  413. .IX Header "HISTORY"
  414. The \fB\-iter\fR option was added in OpenSSL 1.1.0.
  415. .PP
  416. The \fB\-engine\fR option was deprecated in OpenSSL 3.0.
  417. .SH "COPYRIGHT"
  418. .IX Header "COPYRIGHT"
  419. Copyright 2000\-2023 The OpenSSL Project Authors. All Rights Reserved.
  420. .PP
  421. Licensed under the Apache License 2.0 (the \*(L"License\*(R"). You may not use
  422. this file except in compliance with the License. You can obtain a copy
  423. in the file \s-1LICENSE\s0 in the source distribution or at
  424. <https://www.openssl.org/source/license.html>.