From 8deacca70c77dcb78bdcf429a5d75e603707d99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Thu, 26 May 2022 11:19:50 +0200 Subject: [PATCH] gluon-mesh-vpn-openvpn: fix x509 --- .../luasrc/lib/gluon/upgrade/400-mesh-vpn-openvpn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-mesh-vpn-openvpn/luasrc/lib/gluon/upgrade/400-mesh-vpn-openvpn b/package/gluon-mesh-vpn-openvpn/luasrc/lib/gluon/upgrade/400-mesh-vpn-openvpn index ae910e6f..dec86b96 100755 --- a/package/gluon-mesh-vpn-openvpn/luasrc/lib/gluon/upgrade/400-mesh-vpn-openvpn +++ b/package/gluon-mesh-vpn-openvpn/luasrc/lib/gluon/upgrade/400-mesh-vpn-openvpn @@ -32,7 +32,7 @@ end -- if mesh_vpn is on but we have no key, even tho we need one then we can't proceed if vpn.key ~= nil and not file_exists(vpn.key) then if site.mesh_vpn.openvpn.self_signed(true) then - local key = ssl.pkey:new() + local key = ssl.pkey.new() local cert = ssl.x509:new() cert:notbefore(os.time())