Solved

Issue with Digital Certificate for IIS on XP for development purposes

Posted on 2012-03-14
1
406 Views
Last Modified: 2013-11-19
Dear Experts,

I have an issue related to the above subject title.

My requirement is that I need to sign a message using the Private Key and verify it's authenticity using the Public Key. And also there's a possibility in the tool that the message could be encrypted by the Public Key and decrypted by the Private Key.

The code is done on a VS 2010 solution (C#.Net; web application) in my development environment which is a Win XP running IIS 6. Now, to test this application, I need the Private Key and Public Key. So, I did the following:

1. I requested for a digital certificate from my machine's IIS server.

2. I received the following from our IT operations divition: a ".der" file, a ".p7b" file, two ".pem" files

3. Using MMC I installed the ".p7b" file (which corresponds to the public key, i guess) under Certificates (Local Computer) --> Personal --> Certificates. This action was successful.

4. I opened the newly installed certificate which shows it's details on a Certificate dialog box.

But, the problem is that it does not show the Private Key on that dialog box.

How to get the Private Key there?

Thanks a lot for your support.
0
Comment
Question by:sramakrishnan
1 Comment
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
ID: 37724943
It all depends on the type of certificate that was issued.
The der, pem and p7b are mere formats in which keys can be passed.
There are references to using OpenSSL to convert one format into others.
Using a text editor, notepad open the der/pem format keys to see whether one of them says/includes the private key.

Depending on how IT generate certificates, you need a pfx with the private key included.

You could use OpenSSL to create a CSR and provided to IT for them to sign and provide you the signed certificate to which you have the private key (from the csr generation).
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now