<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">I am attempting to generate keys using genpkey, with the RSA options specified in a parameter file:<br />
<br />
<span style="font-family: courier new;">openssl genpkey -paramfile keygen.params -out ftest.key -outform PEM</span><br />
<br />
However, I'm constantly getting the following error:<br />
<br />
<span style="font-family: courier new;">Error reading parameter file keygen.params</span><br />
<br />
I can't find any documentation or examples on what format the parameter file should be in. Can someone either provide an example of what the parameter file should look like, or point to me to one online? I'm not having any trouble getting it to work with the parameters specified on the command line, but for various reasons would like to have them in a file.<br />
<div></div></span>