Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot see self created certificate in certmanager?

I followed the steps in my answer to create a certificate. I will use this cert on my own computer. The command succeeded, but I see no personal certificate in cert manager (certmgr.msc). Answer - How do I create client certificates for local testing of two-way authentication over SSL?

Steps:

  1. Launch Vs2010 Command Prompt: Start ► All Programs ► Visual Studio 2010 ► Visual Studio Tools ► Visual Studio Command Prompt (right click and Run as Administrator)
  2. Create a self-signed (-r), private key exportable (-pe), saving to personal folder (-ss my) under local machine (Local Computer, sr localmachine), named (-n) "YangsoftCA",common name (-in) "Yangsoft.com" with private key file (-sv) as "YangsoftCA.pvk" and public key file "YangsoftCA.cer"

Command:

C:\Windows\system32>makecert -r -pe -ss my -sr LocalMachine -n "CN=YangsoftCA" -sv "YangsoftCA.pvk" YangsoftCA.cer

Above succeeded

Password was prompted to secure the private key file

This is what my cert manager looks like. There is nothing under personal certificates. I was hoping that yangsoft would appear there.

enter image description here

How do I find out what happened and how do I see my cert ?

like image 585
Steam Avatar asked Dec 28 '25 10:12

Steam


2 Answers

make sure you are checking under user certificate, not in computer certificate:
make sure you are checking under user certificate, not in computer certificate

like image 157
AJAY CHOUDHARY Avatar answered Dec 30 '25 22:12

AJAY CHOUDHARY


Go to mmc.exe. Follow the steps:

  • MMC > File > Add/remove snap-in > Certificates > You get three options:

    1. My user account
    2. Service account
    3. Computer account

I don't know what it means, so I took My user account. It seems to be my lucky card in other problems.

Finish.

Then you will need to activate IIS server manager on your system:

  • control panel > programs and features > turn windows features on or off > IIS, the full name > ok

Once done, it can be seen in mmc.exe. In IIS server, under IIS list, click server certificates > create self signed certificate. Enter some stuff and you should be done.

like image 26
Steam Avatar answered Dec 30 '25 22:12

Steam