Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-24 Thread aravidu
Yes, both client and firefox are on my local desktop.. Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Aravidu, > > On 9/23/2010 7:13 AM, aravidu wrote: >> Ok. Thanks. I fixed it and tested it again. Now it says this: >> >> Caused by: java.net.SocketExc

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aravidu, On 9/23/2010 7:13 AM, aravidu wrote: > Ok. Thanks. I fixed it and tested it again. Now it says this: > > Caused by: java.net.SocketException: SocketException invoking > https://:8081/myapp/endpoint: Software caused connection abort: recv >

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, On 9/22/2010 8:55 PM, Jorge Medina wrote: > I have had browsers (IE) that can establish an SSL (https) connection > to a server even when the server did not provide the intermediate > certificates. Other browsers (like Firefox) won't allow the

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-23 Thread aravidu
Ok. Thanks. I fixed it and tested it again. Now it says this: Caused by: java.net.SocketException: SocketException invoking https://:8081/myapp/endpoint: Software caused connection abort: recv failed "Caused by: java.net.SocketException: Software caused connection abort: recv failed" I am sure

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-23 Thread Pid
On 23/09/2010 02:54, aravidu wrote: > -Djavax.net.ssl.keyStore =${truststore.location} > With this setup, it kept complaining about a very basic error. Here is the > exception: > java.lang.NoClassDefFoundError: =C:\Clientcerts\client.keystore That would be because you made a basic error and inc

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-22 Thread aravidu
Thanks for your reply. Yes, the server is using a test certificate. Server has a truststore & a keystore. keystore has server's privatekey and truststore has client's publickey (stored as trustedcert). on the client side, i have setup a client.keystore (type JKS) that contains 2 keys. One key i

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-22 Thread Jorge Medina
I have had browsers (IE) that can establish an SSL (https) connection to a server even when the server did not provide the intermediate certificates. Other browsers (like Firefox) won't allow the connection to be established unless the intermediate certificates are provided. On Wed, Sep 22, 2010

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-22 Thread Jorge Medina
Is your server using a test certificate? If so, Have you tried setting the Java system property "javax.net.ssl.trustStore"? If your server is using a certificate signed by a certificate authority, then your certificate may have been signed using a intermediate certificate. Your server is responsib

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 9/22/2010 3:04 PM, aravidu wrote: > but how? this is not a webclient The class is called WebService and the identified in your code is "client". How is this not a client? > nor is the client running on a webserver. That's

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-22 Thread aravidu
but how? this is not a webclient nor is the client running on a webserver. how can i do this? i tried giving the client.keystore and client.truststore in VMARGS (of eclipse) but it wont work. Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > To whom it may

Re: [OT] Client to communicate to SSL WebServices on tomcat

2010-09-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 9/22/2010 2:05 PM, aravidu wrote: > I don't know if this is directly related to "tomcat" It is not related to Tomcat, but that's okay. Just mark the thread "off-topic" using [OT] in the subject as I have done. > 5. what i