11

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,

1 Answer 1

13

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.
1
  • 1
    If I have self-signed *.pfx certificate I need to manually installed *.cer certificate on client, is it correct? And if I have valid certificate (not self-signed but bought) I don't need *.cer, isn't it?
    – mtkachenko
    Sep 9, 2015 at 12:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.