The cause of this segfault seems to be how pluto handles the storage of two certificates with the same ID.
From your log:
| found cert in slot: 1 with id: 46, label: 'Verschluesselungs Zertifikat 1'
...
| found cert in slot: 1 with id: 46, label: 'Telesec Verschluesselungs Zertifikat'
Could you try, if the attached patch fixes the problem.
Looking over the code, I found several other akward code that will need fixing (so this is probably not be the final fix).
Thanks.
The cause of this segfault seems to be how pluto handles the storage of two certificates with the same ID.
From your log:
| found cert in slot: 1 with id: 46, label: 'Verschluesselungs Zertifikat 1'
...
| found cert in slot: 1 with id: 46, label: 'Telesec Verschluesselungs Zertifikat'
Could you try, if the attached patch fixes the problem.
Looking over the code, I found several other akward code that will need fixing (so this is probably not be the final fix).