[strongSwan] loading private key file is failing with charon, when trying to establish IPsec tunnel with certifiactes.

Andreas Steffen andreas.steffen at strongswan.org
Mon Jun 3 11:39:35 CEST 2013


Did you either rename defaultPrivateKey1.pem to defaultPrivateKey.pem
or as an alternative did you adapt the private key filename in
/etc/ipsec.secrets ?

Andreas

On 06/03/2013 09:20 AM, bhargav p wrote:
> 
> Hi Andreas,
> 
> 
> I am converting my key file with below command:
> 
>  openssl pkcs8 -nocrypt -in defaultPrivateKey.pem -out
> defaultPrivateKey1.pem
> 
> 
> I am putting the new file in the /etc/ipsec/certs/ipsec.d/private, do
> not know the reason why it is not converting.
> 
> 
> Any thing in addition i need to do for converting pkcs8 private key to
> pkcs1 .
> 
======================================================================
Andreas Steffen                         andreas.steffen at strongswan.org
strongSwan - the Open Source VPN Solution!          www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4468 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20130603/6fc63e00/attachment.bin>


More information about the Users mailing list