Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.