Thursday, February 20, 2014

Creating a Self-Signed SSL Certificate in Windows without IIS (for SSRS, for instance)

Sometimes you have need for a SSL certificate on a Windows server when you don't have IIS installed.  Like when you want to install SQL Server Reporting Services (SSRS).

You could use OpenSSL, or download the 1+GB Windows SDK to get the makecert utility.  But those are troublesome, each in its own way.

Happily, it's still possible to use the IIS 6 resource kit's SelfSSL, even without having IIS installed.  And that's only a 5MB download.  Plus, you can install only the SelfSSL piece, which is something like 50kB.  Much, much better.

So, download it from this link.  Install it on the server you want, and then run selfssl as below:

Note two things:
  1. Run the command prompt as administrator
  2. You'll get an error, on account of not having IIS running on the server.
The error is OK:  the certificate is installed in the computer personal certificate store.  You can view it this way.

If trust is important on the server, you can use the /T switch for selfssl, and it will automatically add the certificate to the trusted root CA certificate folder, as well.


19 comments:

  1. You can also take a look here: http://stackoverflow.com/questions/19441155/how-to-create-a-self-signed-certificate-for-a-domain-name-for-development (the Powershell answers).

    Thank you!

    ReplyDelete
  2. Replies
    1. Good question. Windows doesn't store certificates like Linux does, in a directory that's easy to navigate. Instead, you access Windows certificates using a MMC plug-in. To run it, just run mmc, and then go to file-> Add/Remove Snap-in, and select Certificates.

      When you click on Add, it'll ask you if you want to use your personal or computer or service account. Select Computer.

      The newly-created cert will be in the Personal certificates store, there.

      Delete
  3. SVS Online Trainings provides best online training classes svs online tarinings on SAP, BIGDATA , Hadoop ,AWS , Devops , RAC , Exadata , oracle 12cDBA , Goldengate , Shareplex etc

    ReplyDelete
  4. I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts. USA RDP

    ReplyDelete
  5. The Case For HIIT Cardio – Why You Should Concider it… By the way you might want to check out this cool site I found…… website design

    ReplyDelete
  6. many thanks for telling!. “Truth is generally the best vindication against slander.” by Abraham Lincoln.. web design

    ReplyDelete
  7. A well written article, I just passed this onto a workflow that was doing somewhat analysis on this. Thanks for spending the time to talk about this topic. officejet pro 6968 setup

    ReplyDelete
  8. Only strive to mention one's content can be as incredible. This clarity with your post is superb! Thanks a lot, hundreds of along with you should go on the pleasurable get the job done. CE certificate

    ReplyDelete
  9. Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks Cheap CRM

    ReplyDelete
  10. When starting out, many small business owners may be undecided about what type of web hosting package to choose. The technical jargon of shared and dedicated hosting packages can sometimes be confusing. https://onohosting.com/

    ReplyDelete
  11. Why? Since it is tied in with getting results and individuals are seeing the requirement for results like never before. In case that wasn't the situation, we wouldn't have seen the uncommon development in the quantity of holistic mentors, NLP specialists and such all throughout the planet. Europa-Road túlméretes szállítás

    ReplyDelete
  12. Your content is very inspiring and appriciating I really like it please visit my site for Satta King Result also check Satta king 24X7 and also check sattakingand for quick result check my site Satta matka and for super fast result check Satta king result and you can also check sattaking result

    ReplyDelete
  13. your content is very inspiring and appriciating I really like it please visit my site for Satta King Result also check Satta king 24X7 and also check sattaking and for quick result check my site Satta matka and for super fast result check Satta king

    ReplyDelete
  14. All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks https://medium.com/@easyprintsg2021/certificate-holders-making-life-easier-e1ed88e20b55

    ReplyDelete
  15. Your Site is very nice, and it's very helping us this post is unique and interesting, thank you for sharing this awesome information. and visit our blog site also sattaking


    Satta king
    Satta king chart
    Satta king gali
    Satta king Faridabad
    Satta king Desawar
    satta king Gaziabad
    Satta king online
    satta king fast
    Satta King Results

    ReplyDelete
  16. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. certificate holder to buy in singapore

    ReplyDelete

Thanks for leaving a comment!