Exforsys

Online Training

Weblogic and SSL

This is a discussion on Weblogic and SSL within the Java forums, part of the Programming Talk category; Hi, I'm new to weblogic, but have some experience in Java. I'm trying to connect an outside server, ...


Go Back   Exforsys > Programming Talk > Java

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-20-2006, 12:47 PM
Junior Member
 
Join Date: Mar 2006
Posts: 1
perry.ridge is on a distinguished road
Send a message via AIM to perry.ridge
Weblogic and SSL

Hi,

I'm new to weblogic, but have some experience in Java. I'm trying to connect an outside server, but I keep getting the following error in my server console:

javax.net.ssl.SSLHandsShakeException: sun.sercurity.validator.ValidatorException: No trusted certificate found

Following is the java code (the very last line is where the error occurs):

String trustStoreFilename = new String("D:\\b6_baseline\\h\\JemSuite\\JEMWTH\\lib\\jem_trust\\jem.truststore");
File trustStoreFile = new File(trustStoreFilename);
System.setProperty("javax.net.ssl.trustStore", trustStoreFile.getAbsolutePath());

try
{
//Create the SOAP connection
JMBLWebServiceLocator locator = new JMBLWebServiceLocator();
JMBLServiceSoapPortType soapJMBL = locator.getJMBLServiceSoap();

// create the forecast request
Request forecastRequest = new Request();
forecastRequest = createRequest(0);
RequestList forecastRequestList = new RequestList();
forecastRequestList.setRequest(new Request[] {forecastRequest});
ResponseList forecastResponseList = new ResponseList();

try{
forecastResponseList = soapJMBL.getMETOCRequest(forecastRequestList);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

« - | Birthday Script »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.