cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
513
Views
0
Helpful
2
Replies

Certificate generation

eXPlosion
Level 1
Level 1

I have a private key private.ppk ant want to generate a certificate using this key. Is it possible? cert type should be *.pfx, *.p12 or *.cer. I noticed that OpenSSL can work, but it requires an existing cert for input, but i have only a private key for input.

2 Replies 2

Joshua Glenn
Level 1
Level 1

You can't use OpenSSL with the .ppk key, that's a different format that what OpenSSL's keys use.  There is however a tool in PuTTY that allows you to convert the .ppk key to one compatible with OpenSSL.

If you're seeing that in OpenSSL I would expect that it's looking for a signed certificate and key pair, but you have to use the key to generate a CSR first, get it signed and then you're golden.

ok in simple, i have private key key.pem and need to create PKCS12 certificate which would be signed with this key.