• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSL issue

 
Dominic Steng�rd
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this this faq entry help?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Set Cruz
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dominic Steng�rd
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic