Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We've got Subversion Edge installed successfully and I need to secure it with a SSL certificate rather than the generated one.

I have a cert in the windows cert store, I need to export this to .crt and .key.

Does anyone know what tools I should use to do it, or If i can do it in windows?

is it openssl?

share|improve this question
up vote 0 down vote accepted

Yeah, use OpenSSL.

You'll export a PKCS12 file from windows (make sure you include the private key), and you'll convert it to X509:

openssl pkcs12 -in cert.pfx -out cert.pem -nokeys
openssl pkcs12 -in cert.pfx -out cert.key -nocerts -nodes
share|improve this answer
perfect thanks, my first exposure to openssl :) nice little tool – iain Oct 18 '11 at 11:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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