[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: [iaik-ssl] Jigsaw-SSL and JDK1.3.1



Hi,
	I tried the solution give below to the problem, I am having
which is described further on down in this email. 
But the solution did not work, I am still getting the same Exception
as I have quoted below.

Any help would be greatly appreciated.

Thank You

_________________________
Darragh Sherwin
yr40017@cs.may.ie

-----Original Message-----
From:	Timothy R. Bemis [SMTP:trb@progress.com]
Sent:	17 March 2001 18:09
To:	Darragh Sherwin
Cc:	'iaik-ssl@iaik.at'
Subject:	Re: [iaik-ssl] Jigsaw-SSL and JDK1.3.1

Darragh,

Try adding the com.provider.security.IAIK class 
as the security.provider.2 entry in your JDK's 
lib/security/java.security file.  Move the
com.sun.rsajca.Provider entry down to be
security.provider.3

I'm not sure why yet, but we hit a similar issue
recently, and this got us past it.

Tim

Darragh Sherwin wrote:
> 
> Hi,
>         I have been using Jigsaw-SSL package with iSaSiLk
> to implement a secure web server for a project I am developing.
> I have been running it with Java SDK 1.2 but I recently decided
> to change the JDK to 1.3.1, which is a Early release for the Java
> Developer Connection (developer.java.sun.com). I wanted to
> use the HotSpot compiler in the Java 1.3.
> However, anytime I run Jigsaw-SSL using Java 1.3.1
> it keeps giving me a ClassCastException from the
> SSLSocketClientFactory class.
> The error as reported from Jigsaw-SSL is:
> 
> java.lang.ClassCastException: com.sun.rsajca.JSA_RSAPrivateKey
>         at org.w3c.jigsaw.http.socket.SSLSocketClientFactory.propertyChanged(SSLSocketClientFactory.java:293)
>         at org.w3c.jigsaw.http.socket.SSLSocketClientFactory.initializeProperties(SSLSocketClientFactory.java:399)
>         at org.w3c.jigsaw.http.socket.SSLSocketClientFactory.initialize(SSLSocketClientFactory.java:531)
>         at org.w3c.jigsaw.http.httpd.initializeServerSocket(httpd.java:851)
>         at org.w3c.jigsaw.http.httpd.initialize(httpd.java:1827)
>         at iaik.jigsaw.https.httpsd.initialize(httpsd.java:124)
>         at org.w3c.jigsaw.daemon.ServerHandlerManager.launchServerHandler(ServerHandlerManager.java:133)
>         at org.w3c.jigsaw.daemon.ServerHandlerManager.<init>(ServerHandlerManager.java:226)
>         at org.w3c.jigsaw.daemon.ServerHandlerManager.main(ServerHandlerManager.java:451)
>         at org.w3c.jigsaw.Main.main(Main.java:15)
> 
> Jigsaw-SSL works grand on Java 1.2 but I would prefer to have
> it working on Java 1.3 because of the performance enhancements
> 
> Could anybody provide me with the solution?
> 
> Thank you
> 
> _________________________
> Darragh Sherwin
> yr40017@cs.may.ie
> 
> --
> Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html
> 
> To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-ssl
>
--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-ssl