Re: Using PKCS#1 instead of PKCS#8

2013-08-12 Thread Jakob Bohm

On 06-08-2013 18:06, Gregg Hughes wrote:


Good morning, all!

I’m trying to get openssh to generate some self-signed certificates 
for a test VPN using Strongswan IPsec 4.5.2. This version will not 
read private keys in the PKCS#8 format.


Is there a way to either convert PKCS#8 keys to the older version, or, 
alternately, specify the older version when generating keys?



Yes, the command is openssl pkcs8 -in pkcs8file.pem -out oldformat.pem

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: Using PKCS#1 instead of PKCS#8

2013-08-06 Thread redpath
Well my first thought is PKCS12.
And I found this link for PKCS12 maybe this might help.

http://danielpocock.com/strongswan-debian-rhel-fedora-with-android-client





--
View this message in context: 
http://openssl.6102.n7.nabble.com/Using-PKCS-1-instead-of-PKCS-8-tp46071p46072.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org