[Cialug] import openssl private key to windows

jeff at ocjtech.us jeff at ocjtech.us
Fri Nov 19 15:52:42 CST 2010


On Fri, Nov 19, 2010 at 3:25 PM, Barry Von Ahsen <barry at vonahsen.com> wrote:
> I've got a wildcard certificate that I want to use on windows, but can't
>  figure out how to get the private key into windows.  I sort of recall
> trying to do this a while ago on 2000 or 2003, and not being able to.
> has that changed?
>
> the certificate imports just fine, but I can't do anything with it,
> because the key is missing.  the key is openssl/rsa and the server is
> win2008

Something like this:

openssl pkcs12 -export -out cert+key.p12 -in cert.pem -inkey key.pem

should convert the cert and key into a PKCS#12 file, which Windows
will probably have an easier time dealing with.  See "man pkcs12" for
more information.

-- 
Jeff Ollie


More information about the Cialug mailing list