-
Bug
-
Resolution: Fixed
-
P4
-
10
-
b35
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8196284 | 8u191 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8201106 | 8u181 | Unassigned | P4 | Resolved | Fixed | b01 |
JDK-8193010 | 8u172 | Ivan Gerasimov | P4 | Resolved | Fixed | b02 |
JDK-8203132 | emb-8u181 | Ivan Gerasimov | P4 | Resolved | Fixed | master |
Reading the code of sun/security/tools/keytool/Main.java
-----------------
int i = 0;
for (Certificate cert : chain) {
try {
if (rfc) {
dumpCert(cert, out);
} else {
out.println("Certificate #" + i++);
out.println("====================================");
printX509Cert((X509Certificate)cert, out);
out.println();
}
///// the following line can output "certificate 3 of 2" because oneInMany prints (i+1)
checkWeak(oneInMany(rb.getString("the.certificate"), i, chain.size()), cert);
-----------------
-----------------
int i = 0;
for (Certificate cert : chain) {
try {
if (rfc) {
dumpCert(cert, out);
} else {
out.println("Certificate #" + i++);
out.println("====================================");
printX509Cert((X509Certificate)cert, out);
out.println();
}
///// the following line can output "certificate 3 of 2" because oneInMany prints (i+1)
checkWeak(oneInMany(rb.getString("the.certificate"), i, chain.size()), cert);
-----------------
- backported by
-
JDK-8193010 Broken certificate number in debug output
- Resolved
-
JDK-8196284 Broken certificate number in debug output
- Resolved
-
JDK-8201106 Broken certificate number in debug output
- Resolved
-
JDK-8203132 Broken certificate number in debug output
- Resolved
- links to