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

REPOST: 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.

========= WAS CANCELLED BY =======:
From: kate_...@hotmail.com (Kate Appel)
Control: cancel <dafca667.02012...@posting.google.com>
Subject: cmsg cancel <dafca667.02012...@posting.google.com>
Date: Mon, 28 Jan 2002 02:30:34 GMT
Message-ID: <cancel.dafca667.0...@posting.google.com>
X-No-Archive: yes
Newsgroups: microsoft.test,alt.flame.niggers,comp.lang.java.programmer
NNTP-Posting-Host: commflt.fastlanetrans.com 64.3.87.88
Lines: 1
Path: news.uni-stuttgart.de!dns.phoenix-ag.de!newsfeed01.sul.t-online.de!t-online.de!fr.clara.net!heighliner.fr.clara.net!freenix!feed.ac-versailles.fr!out.nntp.be!propagator-SanJose!in.nntp.be!news-in-sanjose!sjc-feed.news.verio.net!sea-feed.news.verio.net!news.verio.net!msrnewsc1!cppssbbsa01.microsoft.com!tkmsftngp01!tkmsftngp02!u&n&a&c&anceller
Xref: news.uni-stuttgart.de control:40738282

This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers.

0 new messages