From d3e200cb3f0c7391cac59e2b3462f0c069d54103 Mon Sep 17 00:00:00 2001 From: Luke Stuart Date: Fri, 7 Oct 2011 09:22:26 +0000 Subject: Updates to Feature #354 incl. security hole fixed and choice of PEM or DER cacert download. --- openssl-status-html.lsp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openssl-status-html.lsp') 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 %>

Download -Certificate

<%= html.link{value="downloadpem?dlpath="..html.html_escape(view.value.cacert.value), label="Download "..view.value.cacert.value } %>
<% end %> +<% if viewlibrary.check_permission("downloadcacert") then %>

Download +CA Cert

<%= html.link{value="downloadcacert?certype=pem", label="Download PEM"} %>
<%= html.link{value="downloadcacert?certype=der", label="Download DER"} %>
+<% end %> -- cgit v1.2.3