Hello,

Please excuse me for the cross-post. The problem I am facing is about Java applet, SSL, and MacOS X, and I am not sure which mail group is the most related to the problem.

I have an iPlanet webserver which is serving a Java applet through https.
I can download it without a problem from Mozilla 1.3 on Linux. Here's the log of the successful attempt.


Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
Referencing classloader: [EMAIL PROTECTED], refcount=1
Added trace listener: sun.plugin.navig.motif.MotifAppletViewer[HelloWorld,0,0,150x25,invalid,layout=java.awt.BorderLayout]
Sending events to applet. LOAD
Sending events to applet. INIT
Determine if the applet requests to install any JAR
Jar cache option: null
Jar archive(s): null
Jar cache version(s): null
Applet Installation finished.
Opening https://sunciti.englab.activcard.com:8021/ni/HelloWorld.class
Connecting https://sunciti.englab.activcard.com:8021/ni/HelloWorld.class


But when I try the same thing from Mozilla 1.3 on MacOS X, it fails saying "javax.net.ssl.SSLException: untrusted server cert chain". Here's the log.
According to certutil, both the certificate of the webserver (sunciti) and the certificate of its issuer are installed in cert8.db. So ... I am lost on how to approach this problem.


Does anyone have any idea? All advices will be appreciated.

Thank you.

Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
In JE_AppletViewerPanel.appletStop: Sending events to applet. STOP
Removed trace listener: com.apple.mrj.JavaEmbedding.JE_AppletViewerPanel[Face,0,0,480x12,invalid,layout=java.awt.BorderLayout]
Sending events to applet. DESTROY
Sending events to applet. DISPOSE
Sending events to applet. QUIT
Doing a join...
Done with join ...
Finding information...
Releasing classloader: [EMAIL PROTECTED], refcount=0
Caching classloader: [EMAIL PROTECTED]
Current classloader cache size: 1
Done...
baseURL is https://sunciti.englab.activcard.com:8021/ni/
documentURL is https://sunciti.englab.activcard.com:8021/ni/HelloWorld.html
Referencing classloader: [EMAIL PROTECTED], refcount=1
Added trace listener: com.apple.mrj.JavaEmbedding.JE_AppletViewerPanel[HelloWorld,0,0,0x0,invalid,layout=java.awt.BorderLayout]
Sending events to applet. LOAD
Determine if the applet requests to install any JAR
Jar cache option: null
Jar archive(s): null
Jar cache version(s): null
Applet Installation finished.
Sending events to applet. INIT
Sending events to applet. START
load: class HelloWorld.class not found.
java.lang.ClassNotFoundException: javax.net.ssl.SSLException: untrusted server cert chain
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.ClientHandshaker.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.Handshaker.process_record([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.AppOutputStream.write([DashoPro-V1.2-120198])
at java.io.OutputStream.write(OutputStream.java:56)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream([DashoPro-V1.2-120198])
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:235)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:214)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:37)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:133)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:130)
at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:269)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:468)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:581)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1334)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:510)
at sun.applet.AppletPanel.run(AppletPanel.java:288)
at java.lang.Thread.run(Thread.java:491)
java.lang.ClassNotFoundException: javax.net.ssl.SSLException: untrusted server cert chain
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.ClientHandshaker.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.Handshaker.process_record([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.AppOutputStream.write([DashoPro-V1.2-120198])
at java.io.OutputStream.write(OutputStream.java:56)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream([DashoPro-V1.2-120198])
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:235)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:214)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:37)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:133)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:130)
at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:269)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:468)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:581)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1334)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:510)
at sun.applet.AppletPanel.run(AppletPanel.java:288)
at java.lang.Thread.run(Thread.java:491)



Reply via email to