title: Set the parameters of the certificate in the openssl req command line
body: <p>When I want to generate a new certificate (I've previously generated key), I write the following command in the console, example:</p>
  
  <pre><code>openssl req -new -key my-prvkey.pem -x509 -days 365 -out mypubcert.pem
  </code></pre>
  
  <p>Then, the system asks me to provide a set of parameters to generate the certificate, such as:</p>
  
  <p>Country Name, State or province Name, Locality Name, Organization Name, Organizational Unit Name, Common Name and Email Address</p>
  
  <p>Once I provide the above parameters the certificate is generated without problems, however, is it possible to generate the certificate so that in the same command parameters are sent?</p>
  
  <p>So the system did not ask the parameters one by one, but I will be sent from the first call to the command?</p>
  
  <p>I hope I explained, now I appreciate any help.</p>
  
  <p>Sincerely.</p>