summaryrefslogtreecommitdiffstats
path: root/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
diff options
context:
space:
mode:
Diffstat (limited to 'base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template')
-rw-r--r--base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template b/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
index 5075962d9..2c01b9a41 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
+++ b/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
@@ -56,6 +56,11 @@ function getKeyStrengthTableForKeyGen() {
}
+function getNoCryptoWarning() {
+ 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 browser. As a result expect limited functionality in this area. </font> </p>');
+ document.write('<br>');
+}
+
function getKeyTypesOptionsForKeyGen() {
var keyTypesDef = "RSA";
var keyTypes = null;
@@ -748,6 +753,7 @@ for (var m = 0; m < inputPluginListSet.length; m++) {
document.writeln('<input type=hidden name=cert_request value="">');
} else {
+ getNoCryptoWarning();
getKeyStrengthTableForKeyGen();
var keyTypesOptions = getKeyTypesOptionsForKeyGen();
@@ -770,6 +776,7 @@ for (var m = 0; m < inputPluginListSet.length; m++) {
} else if (typeof(crypto) != "undefined" && typeof(crypto.version) != "undefined") {
document.writeln('<FONT size="-1" face="PrimaSans BT, Verdana, sans-serif">crmf</FONT><input type=hidden name=' + inputListSet[n].inputId + ' value=crmf>');
} else {
+ getNoCryptoWarning();
document.writeln('Not Supported<input type=hidden name=' + inputListSet[n].inputId + ' value=>');
}
} else if ((inputListSet[n].inputSyntax == 'keygen_request_type') ||