open jdk 6 truststore points to privileged access area
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GlassFish |
Unknown
|
Unknown
|
|||
Iced Tea |
Invalid
|
Medium
|
|||
openjdk-6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
open jdk 6 truststore setting "javax.
So any app run as a regular user that were to implicitly depend on the default truststore could end up not working in Ubuntu unless they overrode with a custom system prop which they were not earlier doing. This may be a problem for Java apps that did not have such an setting made earlier.
Seems to be by the following icedtea patch,
http://
The "javax.
Changed in icedtea: | |
status: | Unknown → Confirmed |
Changed in icedtea: | |
status: | Confirmed → Invalid |
Changed in icedtea: | |
importance: | Unknown → Medium |
Under Debian Etch, I compiled IcedTea6 (17 march), and installed tomcat5.5.
I configured it to run with SSL: jvm/java- 6-openjdk/ bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /usr/share/ tomcat5. 5/.keystore tomcat5. 5/.keystore tomcat5. 5/.keystore certs/ca- certificates. crt /etc/pki/ tls/certs/ ca-bundle. crt 5/server. xml and uncomment "Define a SSL HTTP/1.1 Connector on port 8443"
/usr/lib/
# passwd: changeit
sudo chown tomcat55: /usr/share/
sudo chmod 600 /usr/share/
# Simulate Fedora path for now:
sudo mkdir -p /etc/pki/tls/certs/
sudo ln -s /etc/ssl/
# Modify /etc/tomcat5.
Relevant config: ze="8192"
maxThreads= "150" minSpareThreads ="25" maxSpareThreads ="75"
enableLookups= "false" disableUploadTi meout=" true"
acceptCount= "100" scheme="https" secure="true"
clientAuth= "false" sslProtocol="TLS" />
<Connector port="8443" maxHttpHeaderSi
On startup I get:
... coyote. http11. Http11BaseProto col init IOException: Invalid keystore format provider. JavaKeyStore. engineLoad( JavaKeyStore. java:650) provider. JavaKeyStore$ JKS.engineLoad( JavaKeyStore. java:55) KeyStore. load(KeyStore. java:1201) tomcat. util.net. jsse.JSSESocket Factory. getStore( JSSESocketFacto ry.java: 282) tomcat. util.net. jsse.JSSESocket Factory. getTrustStore( JSSESocketFacto ry.java: 256) tomcat. util.net. jsse.JSSE14Sock etFactory. getTrustManager s(JSSE14SocketF actory. java:174) tomcat. util.net. jsse.JSSE14Sock etFactory. init(JSSE14Sock etFactory. java:111) tomcat. util.net. jsse.JSSESocket Factory. createSocket( JSSESocketFacto ry.java: 88) tomcat. util.net. PoolTcpEndpoint .initEndpoint( PoolTcpEndpoint .java:292) coyote. http11. Http11BaseProto col.init( Http11BaseProto col.java: 138) catalina. connector. Connector. initialize( Connector. java:1016) catalina. core.StandardSe rvice.initializ e(StandardServi ce.java: 580) catalina. core.StandardSe rver.initialize (StandardServer .java:791) catalina. startup. Catalina. load(Catalina. java:503) catalina. startup. Catalina. load(Catalina. java:523) NativeMethodAcc essorImpl. invoke0( Native Method) NativeMethodAcc essorImpl. invoke( NativeMethodAcc essorImpl. java:57) DelegatingMetho dAccessorImpl. invoke( DelegatingMetho dAccessorImpl. java:43) reflect. Method. invoke( Method. java:616) catalina. startup. Bootstrap. load(Bootstrap. java:266) catalina. startup. Bootstrap. main(Bootstrap. java:431) catalina. startup. Catalina load IOException: Invalid keystore format catalina. connector. Connector. initi.. .
INFO: Initialisation de Coyote HTTP/1.1 sur http-8180
2 avr. 2008 16:55:26 org.apache.
GRAVE: Erreur à l'initialisation du point de contact
java.io.
at sun.security.
at sun.security.
at java.security.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.apache.
at org.apache.
2 avr. 2008 16:55:26 org.apache.
GRAVE: Catalina.start
LifecycleException: L'initialisation du gestionnaire de protocole a échoué: java.io.
at org.apache.