summaryrefslogtreecommitdiffstats
path: root/base/ca
diff options
context:
space:
mode:
authorJack Magne <jmagne@localhost.localdomain>2015-06-16 10:09:01 -0700
committerJack Magne <jmagne@localhost.localdomain>2015-06-16 10:09:01 -0700
commitbd780990a15d10c3df9a8da81486878012e00884 (patch)
treee0869899b9f8a1fa0236c1f091d18bb6b709e9b6 /base/ca
parent791764dd01ab2e3c3c82547598d3dc8588919895 (diff)
downloadpki-bd780990a15d10c3df9a8da81486878012e00884.tar.gz
pki-bd780990a15d10c3df9a8da81486878012e00884.tar.xz
pki-bd780990a15d10c3df9a8da81486878012e00884.zip
Mozilla crypto object warning:
Provide simple textual warning when the user is using a browser that no longer supports the crypto object, which results in reduced CA certficat enrollment functionality. For simplicity provide the warning at the top of the main index page and at the top of the CA's services page. The services page is where the pkispawn of the CA points the uers after installation. The ticket originally called for a JS warnign but the simple text warning should be less intrusive and repetitive to the user. Ticket #1398 Provide UI Javascript warning for missing Mozilla Crypto Object in the CA.
Diffstat (limited to 'base/ca')
-rw-r--r--base/ca/shared/webapps/ca/services.template7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/ca/shared/webapps/ca/services.template b/base/ca/shared/webapps/ca/services.template
index 22081081e..fc53c23b0 100644
--- a/base/ca/shared/webapps/ca/services.template
+++ b/base/ca/shared/webapps/ca/services.template
@@ -100,6 +100,13 @@ Certificate System CA Services Page
<td>&nbsp;</td>
</tr>
<script language=javascript>
+
+if (typeof(crypto) != "undefined" && typeof(crypto.version) != "undefined") {
+} else {
+ document.write('<p> <font color="red"> Warning: This version of Firefox no longer supports the crypto web object used to generate and archive keys from the broswer. Although Certificate System will continue to work, some of the functionality may no longer be supported. </font> </p>');
+ document.write('<br>');
+}
+
for (var i=0; i<result.recordSet.length; ++i) {
document.write('<tr valign="TOP">');
document.write('<td>');