summaryrefslogtreecommitdiffstats
path: root/openssl-model.lua
diff options
context:
space:
mode:
authorskel <skeliotis@yahoo.ca>2011-05-30 17:32:52 -0400
committerTed Trask <ttrask01@yahoo.com>2011-06-09 11:56:50 -0400
commit65671b48b2f747789e0a237c1506930cf631015e (patch)
tree5d4b6e66a16be5b21f4696fdb07dd12992c0a372 /openssl-model.lua
parent1536d0f7c91e11894ff3cbf431cc9a5f84dd5a12 (diff)
downloadacf-openssl-65671b48b2f747789e0a237c1506930cf631015e.tar.bz2
acf-openssl-65671b48b2f747789e0a237c1506930cf631015e.tar.xz
fix permissions on ssl cert creation
Diffstat (limited to 'openssl-model.lua')
-rwxr-xr-x[-rw-r--r--]openssl-model.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/openssl-model.lua b/openssl-model.lua
index 423809e..b5a84a6 100644..100755
--- a/openssl-model.lua
+++ b/openssl-model.lua
@@ -300,6 +300,11 @@ getstatus = function()
return cfe({ type="group", value={version=version, conffile=conffile, environment=environment, cacert=cacert, cacertcontents=cacertcontents, cakey=cakey}, label="openssl status" })
end
+set_umask = function()
+ return posix.umask("rw-------")
+end
+
+
getreqdefaults = function()
local defaults = getdefaults()