Seems "-iter" option is added to master only in the below commit. By date, it is later than 1.0.1g and probably 1.0.1h too.
commit 8a6c6bbf21cc11ea0fed69a106250af0d734d786 Author: Naftuli Tzvi Kay <[email protected]> Date: Tue Jun 3 12:48:06 2014 -0700 Added custom PBKDF2 iteration count to PKCS8 tool. On Wed, Jul 23, 2014 at 11:03 AM, Jeffrey Walton <[email protected]> wrote: > I'm having trouble getting `openssl pkcs8` to complete. > > openssl genrsa -out rsa-priv.pem 1024 > openssl pkcs8 -in rsa-priv.pem -inform PEM -topk8 -v1 PBE-SHA1-RC4-128 > -iter 1000 \ > -out rsa-enc-priv-v1.pem -passout pass:test > > When the second command runs, the help is dumped. > > I noticed the man page lists the -iter option > (https://www.openssl.org/docs/apps/pkcs8.html), but the help printed > on failure does not. > > Any ideas how to make the command work? > > ***** > > Which: /usr/local/ssl/macosx-x64/bin/openssl > Version: OpenSSL 1.0.1g 7 Apr 2014 > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [email protected] > Automated List Manager [email protected] >
