Possible Duplicate:
How to create certificate .cer file ?

Hi all,

I would like to work with certificates and the third part authority send me values :

-----BEGIN CERTIFICATE-----
[...]Many letters and digits[...]
-----END CERTIFICATE-----

-----BEGIN RSA PRIVATE KEY-----
[...]Many letters and digits[...]
-----END RSA PRIVATE KEY-----

But I need a .cer file to put in my IIS ...

How can I create this .cer file ?

Thanks in advance for any answers.

link|improve this question
belongs on serverfault.com – Gerrie Schenck Feb 9 '10 at 9:13
posted to serverfault.com/questions/111066/… – Tim Feb 9 '10 at 10:23
feedback

migrated from stackoverflow.com Feb 9 '10 at 15:50

This question came from our site for professional and enthusiast programmers.

closed as exact duplicate by splattne Feb 9 '10 at 16:13

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

2 Answers

The string you pasted is Base64 DER encoded X.509 certificate.

What certificate file format does IIS expect? The simplest try is to save this stuff in a .cer file and pass it to IIS.

See http://en.wikipedia.org/wiki/X.509#Certificate_filename_extensions for details

link|improve this answer
feedback