Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 910317 Details for
Bug 1108307
[GSS] (6.3.1) Improve the ability to use MS Windows keystore for the web servers ssl connector
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch
bz-1108307.patch (text/plain), 1.77 KB, created by
Emmanuel Hugonnet (ehsavoie)
on 2014-06-19 09:54:10 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Emmanuel Hugonnet (ehsavoie)
Created:
2014-06-19 09:54:10 UTC
Size:
1.77 KB
patch
obsolete
>Index: src/main/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java >=================================================================== >--- src/main/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java (révision 2462) >+++ src/main/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java (copie de travail) >@@ -239,8 +239,13 @@ > throws IOException { > > String keystoreFile = (String)attributes.get("keystore"); >- if (keystoreFile == null) >- keystoreFile = defaultKeystoreFile; >+ if (keystoreFile == null) { >+ if("Windows-MY".equals(type) ||"Windows-ROOT".equals(type)) { >+ keystoreFile = ""; >+ } else { >+ keystoreFile = defaultKeystoreFile; >+ } >+ } > > return getStore(type, provider, keystoreFile, pass); > } >Index: src/main/java/org/apache/tomcat/util/net/jsse/NioJSSESocketChannelFactory.java >=================================================================== >--- src/main/java/org/apache/tomcat/util/net/jsse/NioJSSESocketChannelFactory.java (révision 2462) >+++ src/main/java/org/apache/tomcat/util/net/jsse/NioJSSESocketChannelFactory.java (copie de travail) >@@ -372,8 +372,13 @@ > protected KeyStore getKeystore(String type, String provider, String pass) throws IOException { > > String keystoreFile = (String) attributes.get("keystore"); >- if (keystoreFile == null) >- keystoreFile = defaultKeystoreFile; >+ if (keystoreFile == null) { >+ if("Windows-MY".equals(type) ||"Windows-ROOT".equals(type)) { >+ keystoreFile = ""; >+ } else { >+ keystoreFile = defaultKeystoreFile; >+ } >+ } > > return getStore(type, provider, keystoreFile, pass); > }
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 1108307
: 910317