13 May 11 OpenSSL on Windows 7

Windows 7 Open SSL

Update:So I got some questions from people about the files to download and use in order to install Open SSL on Windows 7. There are three sources I found when I was looking for it:

How to get OpenSSL to work on Windows 7 64bit? Recently working on my wireless project I had to load a third party valid SSL Certificate for the guest web authentication to work. Now in order to do that first step is to generate a CSR – Certificate Signing Request. Cisco WLC does not generate it, so you have to do it and then submit it to a third party such as Verisign or Entrust etc. I downloaded Open SSL for Windows 7 from the source I mentioned above. It is available for Windows as well as Linux, you can use which ever source you prefer. Since I am running Windows 7 64bit on my laptop I downloaded the appropriate version (Make sure you download the zip file for Windows 7 64bit), once you unzip it there is nothing to install simply move the “OpenSSL” folder to your C: Drive.

Next open up your command prompt and follow these steps:

  • Change directory to the OpenSSL foler and then switch to the bin folder
  • Now type openssl.exe and it will put you at openssl prompt
  • Next you will use the following command to start the process, “req -new -newkey rsa:1024 -nodes -keyout mykey.pem -out myreq.pem”
  • Now if you get the following error message which I got, “can’t find openssl.cnf” file”, that means you just need to specify the path to the openssl.cnf file.
  • So here is what you will type with the path to openssl.cnf, “req -new -newkey rsa:1024 -nodes -config c:\openssl\openssl.cnf -keyout mykey.pem -out myreq.pem”
  • Now just follow the prompts to finish generating your CSR – Certificate Signing Request

Tags: , , , , , ,

Reader's Comments

  1. |

    Thank you. You are the first giving the right explanation for the win 7 64 bits. It has been a nightmare to find the true solution. Many thanks.
    Could you eventually help me to generate a self-signed certificates. Thank you very much.

  2. |

    tanks a lot, you save my reserche. good luck and tanks again

  3. |

    Blakrain I have the procedure described in the same post, hope you were able to get it going.

  4. |

    How can I tell which is the Windows Version?

  5. |

    You can usually right click on My Computer, choose Properties and find out from that window which version of Windows you are running.

  6. |

    Hi all,

    I had followed the same step mentioned above, and i successfully generated openssl certificate but i did not where certificate get installed because i want to store that certificate in my jdk.

    Please Help

    Thanks in advance

  7. |

    After you generate the CSR you have to send it to the 3rd party vendor to get a digital cert and install that. And what is “jdk”?

  8. |

    What Crow meant is how do you know which of the listed files on OpenSSL is for Windows. They end in tar and do not note which is compatible with Windows.

  9. |

    I updated the post with some more details hopefully that will help. Feel free to suggest any improvements that may help out others.

  10. |

    Thank you very much!

  11. |

    Hi, I have a question.
    How can I create CA.pem clientkey.pem clientcert.pem ?

    Thanks in advance.

  12. |

    Where does it say CA.pem clientkey.pem clientcert.pem in this post?

  13. |

    Thanks a lot. It helped and saved a lot of time.

Leave a Comment

WordPress SEO