summaryrefslogtreecommitdiffstats
path: root/openssl-controller.lua
diff options
context:
space:
mode:
authorLuke Stuart <lukestu@gmail.com>2011-10-07 09:22:26 +0000
committerTed Trask <ttrask01@yahoo.com>2011-10-07 08:12:19 -0400
commitd3e200cb3f0c7391cac59e2b3462f0c069d54103 (patch)
tree5c438ecce99ef49aab9b7578fe24006f3ad7ceb3 /openssl-controller.lua
parenta628cec21b17c4971c5a7560697bb73e1809ef8b (diff)
downloadacf-openssl-d3e200cb3f0c7391cac59e2b3462f0c069d54103.tar.bz2
acf-openssl-d3e200cb3f0c7391cac59e2b3462f0c069d54103.tar.xz
Updates to Feature #354 incl. security hole fixed and choice of PEM or DER cacert download.
Diffstat (limited to 'openssl-controller.lua')
-rwxr-xr-xopenssl-controller.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl-controller.lua b/openssl-controller.lua
index 3f8750b..aa03ba6 100755
--- a/openssl-controller.lua
+++ b/openssl-controller.lua
@@ -116,9 +116,9 @@ putcacert = function(self)
return controllerfunctions.handle_form(self, self.model.getnewputca, self.model.putca, self.clientdata, "Upload", "Upload CA Certificate", "Certificate Uploaded")
end
-downloadpem = function(self)
+downloadcacert = function(self)
self.conf.viewtype="stream"
- return self.model.getpem(self.clientdata.dlpath)
+ return self.model.getca(self.clientdata.certype)
end
-- Generate a self-signed CA