Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to open HttpsURLConnection on an Applet on Mac with OS X?

1 view
Skip to first unread message

Kate Appel

unread,
Jan 25, 2002, 12:25:47 PM1/25/02
to
Hi. I have a Swing applet contacting servlets on web server on a PC
through Https. On a PC's IE, the apple
t runs OK. But when running with IE5.1 on Mac OS X, there is an
security exception in the Java console:

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:61)
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.getOutputStream([DashoPro-V1.2-12019
8])
at com.mycompany.streaming.applet.MyServerInterface.sendMessage(MyServerInterface.java:240)
at com.mycompany.streaming.applet.ConfigPropertiesManager.loadProperties(ConfigPropertiesManager.java:
118)
at MyContainerApplet.loadProperties(MyContainerApplet.java:234)
at MyContainerApplet.init(MyContainerApplet.java:92)

at sun.applet.AppletPanel.run(AppletPanel.java:358)


The Mac never prompted the user to accept a secure connection as I
expected, it just throw up this exception.
What should the browser(IE 5.1) setting be for applet to send
https requests?

Thank you.

0 new messages