summaryrefslogtreecommitdiffstats
path: root/openssl-status-html.lsp
diff options
context:
space:
mode:
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 %>