[Swan-dev] nssdb is pointing to /etc/ipsec.d but it needs to point to the /usr/local/platform/.security/ipsec path provided in /etc/ipsec.conf

Veetil, Vyshnav Vyshnav.Veetil at harman.com
Tue May 15 10:43:31 UTC 2018

We are getting problem with ipsec connection in Centos7.4
Libreswan is unable to read the nssdir path /usr/local/platform/.security/ipsec instead always trying to only read /etc/ipsec.d  Also, want to mention that /etc/ipsec.conf already has ipsecdir=/usr/local/platform/.security/ipsec  which was working earlier with CentOS 7.3.
In CentOS 7.3 libreswan-3.15-8.el7.x86_64 is used.
In CentOS 7.4 libreswan-3.20-3.el7.x86_64 is used.

What has been changed in libreswan-3.20-3.el7.x86_64 packages?

For overcoming the pluto related issue, I have done some changes in configuration file.
I have removed the --stderrlog=directory in /etc/ipsec.conf
And also replaced auth=esp and esp=aes128-sha1 with phase2alg=aes128-sha1 in /etc/ipsec.d/conf/71221031513.conf file .
And manually started ipsec service.

Please find the attachment for the ipsec status and ipsec verify.

What is differnce between nssdir and ipsecdir if we are using in /etc/ipsec.conf file
Is this ipsecdir has been replaced in new libreswan?

Please help us to find the route cause.

Thanks and Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20180515/6e5a4ec1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipsec_status
Type: application/octet-stream
Size: 6233 bytes
Desc: ipsec_status
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20180515/6e5a4ec1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipsec_verify
Type: application/octet-stream
Size: 1701 bytes
Desc: ipsec_verify
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20180515/6e5a4ec1/attachment-0001.obj>

More information about the Swan-dev mailing list