Hi there, I'm trying to build a tunnel with key-auth between strongswan and a Cisco router. Phase 1 doesn't complete successfully because StrongSwan complains that it cannot find a key for the the other side.
May 17 05:52:10 ubuntu charon: 05[IKE] no RSA private key found for '192.168.72.4' however the key is loaded fine when I reload ipsec May 17 05:42:12 ubuntu charon: 00[CFG] loaded RSA private key from '/etc/ipsec.d/private/ubuntu_prv.key' and ipsec.secrets looks as follows 192.168.72.144 : RSA /etc/ipsec.d/private/ubuntu_prv.key root@ubuntu:/etc# ls -la /etc/ipsec.secrets /etc/ipsec.d/private/ubuntu_prv.key -r-------- 1 root root 1679 May 15 03:02 /etc/ipsec.d/private/ubuntu_prv.key -rw------- 1 root root 379 May 17 05:42 /etc/ipsec.secrets root@ubuntu:~/temp# head -2 /etc/ipsec.d/private/ubuntu_prv.key -----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAx70hAWwWg6LRdqXkdInmShazUHsrHHbbaPc6jUtlR2n/zngv (it's not encrypted) Where am I doing wrong? Thanks in advance, Alex
_______________________________________________ Users mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/users
