diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-02-02 22:29:46 -0500 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-02-02 22:29:46 -0500 |
commit | fb3cc9787652312ac452372d3a8e8efb893c4a0f (patch) | |
tree | d786ff29e7f62043e94d000d6af1e12598747629 /openssl-controller.lua | |
parent | 7fa6abdb25ee1ea7dda9b3771d139788c120940f (diff) | |
download | acf-openssl-fb3cc9787652312ac452372d3a8e8efb893c4a0f.tar.bz2 acf-openssl-fb3cc9787652312ac452372d3a8e8efb893c4a0f.tar.xz |
Added getcachain action to show the parent CAs when we are in a child, modified all views to display it
This includes adding a generic HTML view to display cadir and then display the cfe
Diffstat (limited to 'openssl-controller.lua')
-rw-r--r-- | openssl-controller.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openssl-controller.lua b/openssl-controller.lua index 25805bf..5c72c95 100644 --- a/openssl-controller.lua +++ b/openssl-controller.lua @@ -8,7 +8,7 @@ local sslstatus mymodule.mvc={} mymodule.mvc.pre_exec = function(self) sslstatus = self.model.getstatus(self, self.clientdata) - if not self.redirect then + if not self.redirect or self.conf.component == true then return end if (sslstatus.value.version.errtxt and self.conf.action ~= "status") @@ -122,4 +122,8 @@ mymodule.checkenvironment = function(self) return self.handle_form(self, self.model.getenvironment, self.model.setenvironment, self.clientdata, "Configure", "Configure Environment", "Environment Configured") end +mymodule.getcachain = function(self) + return self.model.get_ca_chain(self, self.clientdata) +end + return mymodule |