title: OpenSSL unsigned certs silently
body: <p>Having trouble with this -- a couple of other related posts out there, but nothing so specific.  I'm trying to silently generate certs for a dev machine. These are the commands I originally ran, but was asked for a passphrase:</p>
  
  <pre><code>openssl genrsa -des3 -out server.key 1024
  openssl req -new -key server.key -out server.csr
  openssl x509 -req -days 1024 -in server.csr -signkey server.key -out server.crt
  </code></pre>
  
  <p>The first command below works, but the second doesn't quite work.  I see the <code>passin</code> option, but am having trouble, as I'm still getting asked for a passphrase.</p>
  
  <pre><code>openssl genrsa -des3 -passout pass:$passphrase -out server.key 1024
  openssl req -passout pass:$passphrase -new -key server.key -out server.csr
  openssl x509 -req -days 1024 -in server.csr -signkey server.key -out server.crt
  </code></pre>