Bug #516

Updated by Tobias Brunner over 6 years ago

I have been following [[SimpleCA|this guide]] "this guide": to set up a CA for strongswan 5.1.1 on Alpine Linux. I get through everything fine until I reach the point where you have to create entity certificates. When I try to use the command listed:

ipsec pki --pub --in peerKey.der | ipsec pki --issue --cacert caCert.der --cakey caKey.der \
--dn "C=CH, O=strongSwan, CN=peer" > peerCert.der

I get a segmentation fault message. The following shows in my syslog:

<pre> kernel: [177268.836878] pki[5938]: segfault at bc1a9d8 ip 00006ee4f057a17e sp 00007e47256c8420 error 4 in[6ee4f0540000+75000]

I've used pki --self and pki --gen with no problems. I don't know why it segfaults when I do the above.