ASF Bugzilla – Attachment 37368 Details for
Bug 64614
tomcat doesn't work with JSSE FIPS-compliant with NSS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for the issue.
patch.better (text/plain), 824 bytes, created by
jfclere
on 2020-07-21 15:05:34 UTC
(
hide
)
Description:
patch for the issue.
Filename:
MIME Type:
Creator:
jfclere
Created:
2020-07-21 15:05:34 UTC
Size:
824 bytes
patch
obsolete
>diff --git a/java/org/apache/tomcat/util/net/SSLUtilBase.java b/java/org/apache/tomcat/util/net/SSLUtilBase.java >index dd5f99a7e3..91ef19cc45 100644 >--- a/java/org/apache/tomcat/util/net/SSLUtilBase.java >+++ b/java/org/apache/tomcat/util/net/SSLUtilBase.java >@@ -373,7 +373,10 @@ public abstract class SSLUtilBase implements SSLUtil { > alias = alias.toLowerCase(Locale.ENGLISH); > } > for(int i = 0; i < kms.length; i++) { >- kms[i] = new JSSEKeyManager((X509KeyManager)kms[i], alias); >+ if (kmf.getProvider().getInfo().indexOf("FIPS") != -1) >+ System.out.println("Using FIPS will ignore alias: " + alias); >+ else >+ kms[i] = new JSSEKeyManager((X509KeyManager)kms[i], alias); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 64614
:
37364
|
37367
| 37368