[Swan] Certificate confusion (fwd)

Paul Wouters paul at nohats.ca
Sat May 30 00:20:00 EEST 2015

On Fri, 29 May 2015, Matt Rogers wrote:

>> conn HomeToVoip
>>     leftid=%fromcert
>>     leftcert=
>>     leftrsasigkey=%cert

>>     rightrsasigkey=%cert
>>     leftsendcert=always
>>     leftrsasigkey2=EFW-main

Is left the main office or the home (aka you). the end that is you
should have *sendcert=always.

You should not set leftrsasigkey2 - that is for key rollover scenarios

>> leftcert is picked automatically. rightcert can be changed in the config
>> - have tried all permutations.

>> conn Test
>>     left=
>>     right=
>>     rightsubnet=
>>     leftcert=
>>     rightcert=Endian-Certcert.pem

I'm confused why the strongswan end has two certs from disk. One should
come via IKE normally. Although you can have both

> I think your assignment of left/right is mixed up here. You should
> designate one side as left and one side as right for both

That should not matter, as long as you get the things not confused :)


More information about the Swan mailing list