title: Create a OpenSSL certificate on Windows
body: <p>Since I'm very new to SSL certificates, and the creation and usage of them I figured maybe StackOverflow members can help me out.</p>
  
  <p>I'm from Holland, the common way of online payments is by implementing iDEAL. An online payment protocol supported by the major banks. I have to implement a 'professional' version. This includes creating a RSA private key. Based on that key I have to create a certificate and upload it to the webserver.</p>
  
  <p>I'm on a Windows machine and completely confused what to do. I took a look at the OpenSSL website, because the manual forwarded me to that website to get a SSL Toolkit.</p>
  
  <p>The manual provides two commands which have to be executed in order to create a RSA key and a certificate.</p>
  
  <p>The commands are:</p>
  
  <p><code>openssl genrsa -des3 –out priv.pem -passout pass:myPassword 1024</code></p>
  
  <p>and</p>
  
  <p><code>openssl req -x509 -new -key priv.pem -passin pass:myPassword -days 3650 -out cert.cer</code></p>
  
  <p>Is there a way I can do this by a utility on a windows machine? I've downloaded PuTTy KeyGenerator. But I'm not sure what to do, I've created a key (SSH-2 RSA, whatever that is..) but how do I create a certificate with that key?</p>