You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Donald Woods (JIRA)" <de...@geronimo.apache.org> on 2006/04/25 17:40:05 UTC
[jira] Created: (GERONIMO-1911) HTTPS algorithm=Default is not
preserved after the server is started
HTTPS algorithm=Default is not preserved after the server is started
--------------------------------------------------------------------
Key: GERONIMO-1911
URL: http://issues.apache.org/jira/browse/GERONIMO-1911
Project: Geronimo
Type: Bug
Security: public (Regular issues)
Components: Tomcat
Versions: 1.0, 1.2, 1.1
Environment: Sun or IBM 1.4.2 JDK
Reporter: Donald Woods
Priority: Minor
Fix For: 1.x
During the first run of the server, the algorithm=Default attribute on the TomcatWebSSLConnector in config.xml is updated to match the current JVM being used. This causes problems for people switching between Sun and IBM JRE/JDK when using Eclipse.
The fix, is to update HttpsConnectorGBean.java to not set the algorithm variable to getDefaultAlgorithm() when "Default" was set, but to just set the connector attribute.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-1911) HTTPS algorithm=Default is not
preserved after the server is started
Posted by "Donald Woods (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1911?page=all ]
Donald Woods updated GERONIMO-1911:
-----------------------------------
Attachment: Geronimo-1911.patch
Created patch against 1.1 branch for modules/tomcat/src/java/org/apache/geronimo/tomcat/HttpsConnectorGBean.java
> HTTPS algorithm=Default is not preserved after the server is started
> --------------------------------------------------------------------
>
> Key: GERONIMO-1911
> URL: http://issues.apache.org/jira/browse/GERONIMO-1911
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: Tomcat
> Versions: 1.0, 1.2, 1.1
> Environment: Sun or IBM 1.4.2 JDK
> Reporter: Donald Woods
> Priority: Minor
> Fix For: 1.x
> Attachments: Geronimo-1911.patch
>
> During the first run of the server, the algorithm=Default attribute on the TomcatWebSSLConnector in config.xml is updated to match the current JVM being used. This causes problems for people switching between Sun and IBM JRE/JDK when using Eclipse.
> The fix, is to update HttpsConnectorGBean.java to not set the algorithm variable to getDefaultAlgorithm() when "Default" was set, but to just set the connector attribute.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (GERONIMO-1911) HTTPS algorithm=Default is not
preserved after the server is started
Posted by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1911?page=all ]
Vamsavardhana Reddy closed GERONIMO-1911.
-----------------------------------------
Fix Version/s: (was: 1.x)
Resolution: Invalid
> HTTPS algorithm=Default is not preserved after the server is started
> --------------------------------------------------------------------
>
> Key: GERONIMO-1911
> URL: http://issues.apache.org/jira/browse/GERONIMO-1911
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Tomcat
> Affects Versions: 1.0, 1.1, 1.2
> Environment: Sun or IBM 1.4.2 JDK
> Reporter: Donald Woods
> Priority: Minor
> Attachments: Geronimo-1911.patch
>
>
> During the first run of the server, the algorithm=Default attribute on the TomcatWebSSLConnector in config.xml is updated to match the current JVM being used. This causes problems for people switching between Sun and IBM JRE/JDK when using Eclipse.
> The fix, is to update HttpsConnectorGBean.java to not set the algorithm variable to getDefaultAlgorithm() when "Default" was set, but to just set the connector attribute.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-1911) HTTPS algorithm=Default is not
preserved after the server is started
Posted by "Vamsavardhana Reddy (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1911?page=comments#action_12376408 ]
Vamsavardhana Reddy commented on GERONIMO-1911:
-----------------------------------------------
This part in Geronimo-1911.patch does not make any difference. The part that is removed and the part that is added are equivalent in functionality.
public void setAlgorithm(String algorithm) {
this.algorithm = algorithm;
- if ("default".equalsIgnoreCase(algorithm)) {
- algorithm = KeyManagerFactory.getDefaultAlgorithm();
- }
- connector.setAttribute("algorithm", algorithm);
+ if ("default".equalsIgnoreCase(algorithm))
+ connector.setAttribute("algorithm", KeyManagerFactory.getDefaultAlgorithm());
+ else
+ connector.setAttribute("algorithm", this.algorithm);
}
> HTTPS algorithm=Default is not preserved after the server is started
> --------------------------------------------------------------------
>
> Key: GERONIMO-1911
> URL: http://issues.apache.org/jira/browse/GERONIMO-1911
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: Tomcat
> Versions: 1.0, 1.2, 1.1
> Environment: Sun or IBM 1.4.2 JDK
> Reporter: Donald Woods
> Priority: Minor
> Fix For: 1.x
> Attachments: Geronimo-1911.patch
>
> During the first run of the server, the algorithm=Default attribute on the TomcatWebSSLConnector in config.xml is updated to match the current JVM being used. This causes problems for people switching between Sun and IBM JRE/JDK when using Eclipse.
> The fix, is to update HttpsConnectorGBean.java to not set the algorithm variable to getDefaultAlgorithm() when "Default" was set, but to just set the connector attribute.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-1911) HTTPS algorithm=Default is not
preserved after the server is started
Posted by "Vamsavardhana Reddy (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1911?page=comments#action_12376411 ]
Vamsavardhana Reddy commented on GERONIMO-1911:
-----------------------------------------------
I think this JIRA is invalid. Here is the investigation I did.
I have added (since editHTTPS is not working thru console currently)
<attribute name="algorithm">Default</attribute>
<attribute name="secureProtocol">SSL</attribute>
to config.xml under SSL Connectors under both Jetty and Tomcat servers built from G1.1 branch and tested that https://localhost:8443/ loads successfully with server run on both IBM and Sun JDKs.
Step 1: Run server on IBM JDK & test
Step 2: Run Server on Sun JDK & test
Step 3: Run Server on IBM JDK & test
In all these steps, https://localhost:8443/ loaded successfully.
> HTTPS algorithm=Default is not preserved after the server is started
> --------------------------------------------------------------------
>
> Key: GERONIMO-1911
> URL: http://issues.apache.org/jira/browse/GERONIMO-1911
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: Tomcat
> Versions: 1.0, 1.2, 1.1
> Environment: Sun or IBM 1.4.2 JDK
> Reporter: Donald Woods
> Priority: Minor
> Fix For: 1.x
> Attachments: Geronimo-1911.patch
>
> During the first run of the server, the algorithm=Default attribute on the TomcatWebSSLConnector in config.xml is updated to match the current JVM being used. This causes problems for people switching between Sun and IBM JRE/JDK when using Eclipse.
> The fix, is to update HttpsConnectorGBean.java to not set the algorithm variable to getDefaultAlgorithm() when "Default" was set, but to just set the connector attribute.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira