libreswan-3.8 and before used to have this in README.nss: """ Add following to /etc/ipsec.secrets file: : RSA "name of certificate in nss db" "" """ but libreswan 3.10 no longer accepts ipsec.secrets lines with a passphrase in them, breaking old configuration after an upgrade: """ Sep 22 08:46:51 oslt pluto[15307]: "/etc/ipsec.d/fs.secrets" line 1: RSA private key file -- unexpected token after friendly_name [...] Sep 22 08:46:52 oslt pluto[15307]: "FS" #1: I am sending my cert Sep 22 08:46:52 oslt pluto[15307]: "FS" #1: I am sending a certificate request Sep 22 08:46:52 oslt pluto[15307]: "FS" #1: unable to locate my private key for RSA Signature """ It's easy enough to fix this by editing the ipsec secrets file once it's clear what the problem is, but it took me a while to figure out that libreswan had been upgraded on my system and it had changed its secret-file format. It would be nice if libreswan would accept the old type secret-lines and maybe just issue a warning about the ignored passphrase field. Version-Release number of selected component (if applicable): libreswan-3.10-3.fc20.x86_64
Posted a pull request to libreswan github page to fix this: https://github.com/libreswan/libreswan/pull/17
This is fixed in 3.11-1. It will now say: 002 RSA private key file -- ignoring empty token after friendly_name -- this will be an error in a future release
libreswan-3.11-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/libreswan-3.11-1.el6
libreswan-3.11-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/libreswan-3.11-1.fc21
libreswan-3.11-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/libreswan-3.11-1.fc20
libreswan-3.11-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/libreswan-3.11-1.fc19
Package libreswan-3.11-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libreswan-3.11-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-13597/libreswan-3.11-1.fc21 then log in and leave karma (feedback).
libreswan-3.11-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
libreswan-3.11-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
libreswan-3.12-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/libreswan-3.12-1.el6
libreswan-3.11-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
libreswan-3.12-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.