Ramblings

14 May, 2009

SSL Joys

Posted by: Matt Williams In: gotchas| howto| tips

The nice thing about standards is that there are so many of them to choose from. Andrew S. Tanenbaum

I’ve been working with a Apache proxy to force SSL and https.  Well, I haven’t had any control over the certificates.  And they can come in so many versions, especially given that Microsoft wants to do things its own way and the Apache web server instance is sitting on a windows virtual instance.

I’ve gotten the private key in two different formats, .pfx and .pvk.

.pfx can be converted to the pem file format which Apache is expecting via the following:

openssl pkcs12 -nodes -in infile.pfx -out out.pem

You then need to edit it, stripping out everything but the private key.  Once that’s accomplished you’re good to go.

.pvk, however, isn’t supported in openssl until version 1.0.  Joy!

Enhanced by Zemanta

No Responses to "SSL Joys"

Comment Form

Categories

DrakNet Web Hosting

  • Geoffrey Ducharme: Excellent points. I've taken to heart to purposefully disconnect myself from the Internet, in order to be more attentive to what I'm doing at the mome
  • Shared Frank: A fully explained article! Well done, I found this blog on google and found very intresting. Thanks and bookmarked
  • abby williams: okay, so i randomly click on an email. it takes me to this... now i realize just how big a geek my big bro is, and that i will never learn to understa

Flickr PhotoStream

    layout_newm3headerTerrain Testa

About

Matt Williams is a geekly jack of all trades residing in Columbus, OH, USA.

Recommend Me


Adopt a Dragon from Dragcave
Adopt one today!Adopt one today!Adopt one today!Adopt one today! Adopt one today! Adopt one today!Adopt one today! Adopt one today! Adopt one today! Adopt one today!