summaryrefslogtreecommitdiffstats
path: root/base/ca/shared
diff options
context:
space:
mode:
authorMatthew Harmsen <mharmsen@redhat.com>2016-05-13 16:41:16 -0600
committerMatthew Harmsen <mharmsen@redhat.com>2016-05-13 18:10:52 -0600
commitc17719c36559802a2602c63f54db6b1e62a0143f (patch)
treeeb570093b69bce5f1c16ca5422cba9ed3eee7dbc /base/ca/shared
parent8d239f0b5c01ec94075a52eec8d8f5485b172ffd (diff)
downloadpki-c17719c36559802a2602c63f54db6b1e62a0143f.tar.gz
pki-c17719c36559802a2602c63f54db6b1e62a0143f.tar.xz
pki-c17719c36559802a2602c63f54db6b1e62a0143f.zip
Detect inability to submit ECC CSR on Chrome
- PKI TRAC Ticket #2306 - Chrome Can Not Submit EC Client Cert Requests
Diffstat (limited to 'base/ca/shared')
-rw-r--r--base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template11
1 files changed, 11 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 18a0b21b8..a683867de 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
+++ b/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
@@ -147,6 +147,11 @@ function getKeyGenDisabledWarning() {
document.write('<br>');
}
+function getChromeECCSupportWarning() {
+ document.write('<p> <font color="red"> Warning: Currently, this profile is unable to successfully construct an ECC certificate request on Chrome.<br><br>At this time, please use Firefox to generate ECC certificate requests.</font> </p>');
+ document.write('<br>');
+}
+
function getKeyStrengthTableForKeyGen() {
document.writeln("<table border='1'> <caption> KeyGen Key Strength Info </caption> <tr> <th> Key Type </th> <th> High Grade </th> <th> Medium Grade </th> </tr>");
@@ -871,6 +876,12 @@ for (var m = 0; m < inputPluginListSet.length; m++) {
getKeyGenDisabledWarning();
}
+ if (browserName == "Chrome") {
+ // PKI TRAC Ticket #2306 - Chrome Can Not Submit EC
+ // Client Cert Requests
+ getChromeECCSupportWarning();
+ }
+
getKeyStrengthTableForKeyGen();
var keyTypesOptions = getKeyTypesOptionsForKeyGen();