]> git.ipfire.org Git - ipfire-2.x.git/commit - html/cgi-bin/vpnmain.cgi
database_attribute: Deliver/create index.txt.attr
authorErik Kapfer <ummeegge@ipfire.org>
Thu, 3 Jan 2019 02:57:16 +0000 (03:57 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Jan 2019 14:52:53 +0000 (14:52 +0000)
commite6f7f8e7ba0e716acede7f6cadf9a284d115440b
treeea9edb8ce77dd5bc97101e8aafc6729b502ff0a1
parent4c83d9fbdcf137c126d0b5ed0935dbe18c9733f3
database_attribute: Deliver/create index.txt.attr

Fixes #11904

Since OpenSSL-1.1.0x the database attribute file for IPSec and OpenVPN wasn´t created while initial PKI generation.
OpenVPN delivered an error message but IPSec did crashed within the first attempt.
This problem persists also after X509 deletion and new generation.

index.txt.attr will now be delivered by the system but also deleted and recreated while setting up a new x509.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/ovpn/certs/index.txt.attr [new file with mode: 0644]
config/rootfiles/common/configroot
config/rootfiles/common/openvpn
html/cgi-bin/ovpnmain.cgi
html/cgi-bin/vpnmain.cgi
lfs/configroot