Using SOAP with SSL in Tomcat 4.1.18

2003-08-18 Thread GREVER,PAT (HP-Boise,ex1)
Hi,

I'm trying to make soap calls over https.  I am getting the following error
when I try to ...

Caused by: javax.net.ssl.SSLHandshakeException:
java.security.cert.CertificateException: Couldn't find trusted certificate

This occurs at the point in the code where I invoke the soap call.

I found an article at
http://www.discursive.com/articles/2002/06/tomcat_ssl.html that I used to
get my client working for doing a straight post over https.  I had to use
the deprecated classes to get the https stuff to work (I have no idea if
this is really the correct thing to be doing).  Anyway, after I got this to
work, I tried using an https url to reference the service for my soap
call/client and no matter what I've tried, I get the error message above.

Can anyone help with a step-by-step of what to do to use SSL for http and
soap using tomcat 4.1.18 and axis?  (I can change versions if necessary).


Pat Grever
Software Development Engineer
iIPS Connectivity - Management  Applications Lab
Phone:  208.396.2522
Fax:  208.396.4796
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Using SOAP with SSL in Tomcat 4.1.18

2003-08-18 Thread GREVER,PAT (HP-Boise,ex1)
Well I've followed the steps in several articles about creating
server/client keystores, but whether or not I've done it correctly or done
everything necessary to connect them up properly for the code to actually
use them... I don't know.  I've done everything listed in the articles I
found.

Pat

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 3:12 PM
To: Tomcat Developers List
Subject: Re: Using SOAP with SSL in Tomcat 4.1.18


Did you check the obvious solutions
such as do you have a certificate?
Martin
- Original Message -
From: GREVER,PAT (HP-Boise,ex1) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 18, 2003 11:09 AM
Subject: Using SOAP with SSL in Tomcat 4.1.18


 Hi,

 I'm trying to make soap calls over https.  I am getting the following
error
 when I try to ...

 Caused by: javax.net.ssl.SSLHandshakeException:
 java.security.cert.CertificateException: Couldn't find trusted certificate

 This occurs at the point in the code where I invoke the soap call.

 I found an article at
 http://www.discursive.com/articles/2002/06/tomcat_ssl.html that I used to
 get my client working for doing a straight post over https.  I had to use
 the deprecated classes to get the https stuff to work (I have no idea if
 this is really the correct thing to be doing).  Anyway, after I got this
to
 work, I tried using an https url to reference the service for my soap
 call/client and no matter what I've tried, I get the error message above.

 Can anyone help with a step-by-step of what to do to use SSL for http and
 soap using tomcat 4.1.18 and axis?  (I can change versions if necessary).


 Pat Grever
 Software Development Engineer
 iIPS Connectivity - Management  Applications Lab
 Phone:  208.396.2522
 Fax:  208.396.4796
 [EMAIL PROTECTED]









 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Using SOAP with SSL in Tomcat 4.1.18

2003-08-18 Thread GREVER,PAT (HP-Boise,ex1)
Yes, the tomcat ssl-howto was one of the sources of information I used on
setting up the keystore.  I did not see any information about how to
confirm these steps with tomcat.  How would I go about doing this?

Pat

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 3:20 PM
To: Tomcat Developers List
Subject: Re: Using SOAP with SSL in Tomcat 4.1.18


I assume you are referring to
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html

After running keytool utility you will have a certificate keystore..
Did you confirm all these steps on your Tomcat installation?

Martin
- Original Message -
From: GREVER,PAT (HP-Boise,ex1) [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Monday, August 18, 2003 11:14 AM
Subject: RE: Using SOAP with SSL in Tomcat 4.1.18


 Well I've followed the steps in several articles about creating
 server/client keystores, but whether or not I've done it correctly or done
 everything necessary to connect them up properly for the code to actually
 use them... I don't know.  I've done everything listed in the articles I
 found.

 Pat

 -Original Message-
 From: Martin Gainty [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 18, 2003 3:12 PM
 To: Tomcat Developers List
 Subject: Re: Using SOAP with SSL in Tomcat 4.1.18


 Did you check the obvious solutions
 such as do you have a certificate?
 Martin
 - Original Message -
 From: GREVER,PAT (HP-Boise,ex1) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 18, 2003 11:09 AM
 Subject: Using SOAP with SSL in Tomcat 4.1.18


  Hi,
 
  I'm trying to make soap calls over https.  I am getting the following
 error
  when I try to ...
 
  Caused by: javax.net.ssl.SSLHandshakeException:
  java.security.cert.CertificateException: Couldn't find trusted
certificate
 
  This occurs at the point in the code where I invoke the soap call.
 
  I found an article at
  http://www.discursive.com/articles/2002/06/tomcat_ssl.html that I used
to
  get my client working for doing a straight post over https.  I had to
use
  the deprecated classes to get the https stuff to work (I have no idea if
  this is really the correct thing to be doing).  Anyway, after I got this
 to
  work, I tried using an https url to reference the service for my soap
  call/client and no matter what I've tried, I get the error message
above.
 
  Can anyone help with a step-by-step of what to do to use SSL for http
and
  soap using tomcat 4.1.18 and axis?  (I can change versions if
necessary).
 
 
  Pat Grever
  Software Development Engineer
  iIPS Connectivity - Management  Applications Lab
  Phone:  208.396.2522
  Fax:  208.396.4796
  [EMAIL PROTECTED]
 
 
 


 --
--
 


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]