wood burning stoves*
The moose likes Security and the fly likes SSL issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "SSL issue " Watch "SSL issue " New topic
Author

SSL issue

Dominic Steng�rd
Ranch Hand

Joined: Feb 05, 2001
Posts: 186
Hello JavaCoders,

I've implemented a java client program that connects to a Web Service over SSL/https to fetch data. When running the completed application on a Windows JDK 1.4.2 it works just as expected.

But when its deployed to an AS400 server running JDK 1.4.2 I get the following error:


Why is this happening?
When I google Ive realized that this is a common problem when running JDK 1.3, but that the JSSE packages are part of the JDK 1.4 release.

Any help is more than welcome!

Kind regards


Dominic Steng�rd<br />Sun Certified Java 2 Programmer
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Does this this faq entry help?


apigee, a better way to API!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
Originally posted by Nitesh Kant:
Does this this faq entry help?

Probably not, as that entry specifically mentions that this ceased to be a problem with JDK versions 1.4 and newer.


Ping & DNS - my free Android networking tools app
Set Cruz
Greenhorn

Joined: Jan 31, 2008
Posts: 26
Hello
The AS400 server ... You may be dealing with an IBM JVM, or perhaps something other than a Sun JVM? You may find out by running "java -v". Find out whether crypto tools are not bundled because of US export laws, or otherwise.
Cheers.


SCJP, Oracle PL/SQL Developer
Dominic Steng�rd
Ranch Hand

Joined: Feb 05, 2001
Posts: 186
Hey again,

Have found what the problem is and thought you guys might want to know how to solv this IBM AS400 issue.

Did some googling and ran some tests and it turns out that the IBM JVM 1.4 doesnt have the JSSE support that is included in the Sun JVM 1.4. This implies that one has to fetch the IBMJSSE jar and have it configured in the java.security file for this JVM.

More info can be found at:
http://apps.cybersource.com/library/documentation/dev_guides/Web_Services_Clients_Java/html/app_adv_config.htm

Have a fantastic Java Coding Week!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSL issue