summaryrefslogtreecommitdiffstats
path: root/openssl-status-html.lsp
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-status-html.lsp
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-status-html.lsp')
-rw-r--r--openssl-status-html.lsp5
1 files changed, 3 insertions, 2 deletions
diff --git a/openssl-status-html.lsp b/openssl-status-html.lsp
index d191f76..739009c 100644
--- a/openssl-status-html.lsp
+++ b/openssl-status-html.lsp
@@ -38,5 +38,6 @@ if view.value.version and view.value.version.errtxt and viewlibrary.check_permis
end
end
end %>
-<% if viewlibrary.check_permission("downloadpem") then %> <H1>Download
-Certificate</H1> <DL> <%= html.link{value="downloadpem?dlpath="..html.html_escape(view.value.cacert.value), label="Download "..view.value.cacert.value } %><BR> </DL><% end %>
+<% if viewlibrary.check_permission("downloadcacert") then %> <H1>Download
+CA Cert</H1> <DL> <%= html.link{value="downloadcacert?certype=pem", label="Download PEM"} %><BR><%= html.link{value="downloadcacert?certype=der", label="Download DER"} %><BR> </DL>
+<% end %>