The Light
The Light

Reputation: 27021

How to create a self-signed certificate with .pfx and .cer files?

In IIS 7.5 Windows Server 2008, How to create a self-signed certificate with .pfx (containing the private key) and .cer (containing the public key) files?

I used this guideline: http://technet.microsoft.com/en-us/library/cc753127(v=ws.10).aspx

and I created the certificate in IIS. When I export it, it only exports the .pfx file, not the .cer file.

Thanks,

Upvotes: 11

Views: 57211

Answers (1)

Asencion
Asencion

Reputation: 349

Once the self-signed certificate is created in IIS:

  1. Select your certificate in IIS under Server Certificates.
  2. Click on View.
  3. Select the Detail tab.
  4. Click the "Copy to File" button.
  5. Follow instructions in Certificate Export Wizard to create an X.509 (.CER) certificate.

Upvotes: 13

Related Questions