RE: A concrete axis + ssl client example.

2006-06-22 Thread subir.sasikumar








-ip vp



Can you check the following
links...The code is not that complex. The configuration is a little confusing
(or complex).

Please read the following links so
that it helps you.



[1] http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html


[2] http://blogs.missiondata.com/?p@ 

[3] http://www.artima.com/forums/flat.jsp?forumFthread6915


[4] http://wiki.apache.org/ws/FrontPage/Axis/SslUnsignedCertificate


[5] http://wiki.apache.org/ws/FrontPage/Axis/AxisClientConfiguration/Ssl




I dont have any working code
example with me.



-Subir S

-Original Message-
From: ip vp [mailto:[EMAIL PROTECTED]]

Sent: Thursday, June 22, 2006 1:40 AM
To: axis-user@ws.apache.org
Subject: Re: A concrete axis + ssl client example.





Hey Subir,



Thanks for your response.



Can you provide a sample code ?



regards,



IPVP



From: Sai Arunachalam [EMAIL PROTECTED]

Reply-To: axis-user@ws.apache.org

To: axis-user@ws.apache.org

Subject: Re: A concrete axis + ssl client example.

Date: Mon, 19 Jun 2006 13:31:06 +0530



Hey Subir,



    Can you provide some code or example for what
you did...? I am looking

to implement a similar functionality.



Thanks,

Sai



On 6/19/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:





Thanks manuel...



I am using a self signed certificate and so I
had to import my servers

certificate (not issued by any CA, but me ;) )
into the truststore and

change the default trust store as they are not
available in the default CA

file available in the JRE.. That is the reason
that I set the truststore

explicitly ofcourse I can import my
servers certificate into the 

default

file to avoid setting any properties related
to trust store..you can 

say

I do this for testing purpose



Thanks again for pointing out that.

I thought you could have given a few links
that discuss these things (SSL,

Certificates in JAVA) in detail to help all of
us in the group.



Cheers

-Subir S

-Original Message-

From: Manuel Mall
[mailto:[EMAIL PROTECTED]]

Sent: Friday, June 16, 2006 9:08 PM

To: axis-user@ws.apache.org

Subject: Re: A concrete axis + ssl client
example.



On Friday 16 June 2006 21:07,
[EMAIL PROTECTED] wrote:

  Hi,

 

  I guess if you use the stubs generated
using WSDL2Java then there is

  nothing much to do. Set the trust store
property and trust store

  password property before invoking the
client. Just leave the other

  properties as default it self.

 

 
System.setProperty(javax.net.ssl.trustStore,

 
c:\\TraceLogs\\tempstore.jks);

 
System.setProperty(javax.net.ssl.trustStorePassword,
temp123);

 

For client authentication you usually the the
keyStore and

keyStorePassword properties not the
trustStore. The keyStore contains

your key and the corresponding certificate
presented to the server. The

trustStore contains certificates of the
servers you trust. Actually

typically not the certificates itself but the
CA certificates. The CA

trustStore that comes with your JDK/JRE
contains many of the commonly

used CA certificates (Verisign and the like)
and normally you don't

need to make any changes to it.



  
System.setProperty(javax.net.ssl.keyStore, path to

keystore);



System.setProperty(javax.net.ssl.keyStorePassword,
password);



works for me to use SSL client authentication.



The biggest complication typically is to get
your keyStore sorted out.

The details of that depend on how you your
private/public key pair and

from that your certificate is issued to you.
This topic is however way

off this list.



 

  -Subir S

 

  -Original Message-

  From: ip vp [mailto:[EMAIL PROTECTED]]

 

  Sent: Wednesday, June 14, 2006 6:56 PM

  To: axis-user@ws.apache.org

  Subject: A concrete axis + ssl client
example.

 

 

 

  Can somebody supply a concrete example
of axis client accessing

  webservice

 

  using ssl and a client certificate ?

 

 

  regards

 



Manuel



-

To unsubscribe, e-mail:
[EMAIL PROTECTED]

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







The information contained in this electronic
message and any attachments

to this message are intended for the exclusive
use of the addressee(s) and

may contain proprietary, confidential or
privileged information. If you 

are

not the intended recipient, you should not
disseminate, distribute or copy

this e-mail. Please notify the sender
immediately and destroy all copies 

of

this message and any attachments.



WARNING: Computer viruses can be transmitted
via email. The recipient

should check this email and any attachments
for the presence of viruses. 

The

company accepts no liability for any damage
caused by any virus 

transmitted

by this email.



www.wipro.com



-

To unsubscribe, e-mail:
[EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED

Re: A concrete axis + ssl client example.

2006-06-21 Thread ip vp


Hey Subir,

Thanks for your response.

Can you provide a sample code ?

regards,

IPVP


From: Sai Arunachalam [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: A concrete axis + ssl client example.
Date: Mon, 19 Jun 2006 13:31:06 +0530

Hey Subir,

   Can you provide some code or example for what you did...? I am looking
to implement a similar functionality.

Thanks,
Sai

On 6/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



Thanks manuel...

I am using a self signed certificate and so I had to import my servers
certificate (not issued by any CA, but me ;) ) into the truststore and
change the default trust store as they are not available in the default CA
file available in the JRE.. That is the reason that I set the truststore
explicitly ofcourse I can import my servers certificate into the 
default
file to avoid setting any properties related to trust store..you can 
say

I do this for testing purpose

Thanks again for pointing out that.
I thought you could have given a few links that discuss these things (SSL,
Certificates in JAVA) in detail to help all of us in the group.

Cheers
-Subir S
-Original Message-
From: Manuel Mall [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 9:08 PM
To: axis-user@ws.apache.org
Subject: Re: A concrete axis + ssl client example.

On Friday 16 June 2006 21:07, [EMAIL PROTECTED] wrote:
 Hi,

 I guess if you use the stubs generated using WSDL2Java then there is
 nothing much to do. Set the trust store property and trust store
 password property before invoking the client. Just leave the other
 properties as default it self.

 System.setProperty(javax.net.ssl.trustStore,
 c:\\TraceLogs\\tempstore.jks);
 System.setProperty(javax.net.ssl.trustStorePassword, temp123);

For client authentication you usually the the keyStore and
keyStorePassword properties not the trustStore. The keyStore contains
your key and the corresponding certificate presented to the server. The
trustStore contains certificates of the servers you trust. Actually
typically not the certificates itself but the CA certificates. The CA
trustStore that comes with your JDK/JRE contains many of the commonly
used CA certificates (Verisign and the like) and normally you don't
need to make any changes to it.

  System.setProperty(javax.net.ssl.keyStore, path to
keystore);

System.setProperty(javax.net.ssl.keyStorePassword, password);

works for me to use SSL client authentication.

The biggest complication typically is to get your keyStore sorted out.
The details of that depend on how you your private/public key pair and
from that your certificate is issued to you. This topic is however way
off this list.


 -Subir S

 -Original Message-
 From: ip vp [mailto:[EMAIL PROTECTED]

 Sent: Wednesday, June 14, 2006 6:56 PM
 To: axis-user@ws.apache.org
 Subject: A concrete axis + ssl client example.



 Can somebody supply a concrete example of axis client accessing
 webservice

 using ssl and a client certificate ?


 regards


Manuel

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



The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you 
are

not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies 
of

this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses. 
The
company accepts no liability for any damage caused by any virus 
transmitted

by this email.

www.wipro.com

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




_
Seja um dos primeiros a testar o novo Windows Live Mail Beta- grátis. Acesse 
http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d



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



RE: A concrete axis + ssl client example.

2006-06-19 Thread subir.sasikumar

Thanks manuel...

I am using a self signed certificate and so I had to import my servers 
certificate (not issued by any CA, but me ;) ) into the truststore and change 
the default trust store as they are not available in the default CA file 
available in the JRE.. That is the reason that I set the truststore 
explicitly ofcourse I can import my servers certificate into the default 
file to avoid setting any properties related to trust store..you can say I 
do this for testing purpose

Thanks again for pointing out that.
I thought you could have given a few links that discuss these things (SSL, 
Certificates in JAVA) in detail to help all of us in the group.

Cheers
-Subir S
-Original Message-
From: Manuel Mall [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 9:08 PM
To: axis-user@ws.apache.org
Subject: Re: A concrete axis + ssl client example.

On Friday 16 June 2006 21:07, [EMAIL PROTECTED] wrote:
 Hi,

 I guess if you use the stubs generated using WSDL2Java then there is
 nothing much to do. Set the trust store property and trust store
 password property before invoking the client. Just leave the other
 properties as default it self.

 System.setProperty(javax.net.ssl.trustStore,
 c:\\TraceLogs\\tempstore.jks);
 System.setProperty(javax.net.ssl.trustStorePassword, temp123);

For client authentication you usually the the keyStore and
keyStorePassword properties not the trustStore. The keyStore contains
your key and the corresponding certificate presented to the server. The
trustStore contains certificates of the servers you trust. Actually
typically not the certificates itself but the CA certificates. The CA
trustStore that comes with your JDK/JRE contains many of the commonly
used CA certificates (Verisign and the like) and normally you don't
need to make any changes to it.

        System.setProperty(javax.net.ssl.keyStore, path to
keystore);
       
System.setProperty(javax.net.ssl.keyStorePassword, password);

works for me to use SSL client authentication.

The biggest complication typically is to get your keyStore sorted out.
The details of that depend on how you your private/public key pair and
from that your certificate is issued to you. This topic is however way
off this list.


 -Subir S

 -Original Message-
 From: ip vp [mailto:[EMAIL PROTECTED]

 Sent: Wednesday, June 14, 2006 6:56 PM
 To: axis-user@ws.apache.org
 Subject: A concrete axis + ssl client example.



 Can somebody supply a concrete example of axis client accessing
 webservice

 using ssl and a client certificate ?


 regards


Manuel

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



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

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



Re: A concrete axis + ssl client example.

2006-06-19 Thread Sai Arunachalam
Hey Subir, Can you provide some code or example for what you did...? I am looking to implement a similar functionality.Thanks,SaiOn 6/19/06, 
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Thanks manuel...I am using a self signed certificate and so I had to import my servers certificate (not issued by any CA, but me ;) ) into the truststore and change the default trust store as they are not available in the default CA file available in the JRE.. That is the reason that I set the truststore explicitly ofcourse I can import my servers certificate into the default file to avoid setting any properties related to trust store..you can say I do this for testing purpose
Thanks again for pointing out that.I thought you could have given a few links that discuss these things (SSL, Certificates in JAVA) in detail to help all of us in the group.Cheers-Subir S-Original Message-
From: Manuel Mall [mailto:[EMAIL PROTECTED]]Sent: Friday, June 16, 2006 9:08 PMTo: axis-user@ws.apache.orgSubject: Re: A concrete axis + ssl client example.
On Friday 16 June 2006 21:07, [EMAIL PROTECTED] wrote: Hi, I guess if you use the stubs generated using WSDL2Java then there is nothing much to do. Set the trust store property and trust store
 password property before invoking the client. Just leave the other properties as default it self. System.setProperty(javax.net.ssl.trustStore, c:\\TraceLogs\\tempstore.jks);
 System.setProperty(javax.net.ssl.trustStorePassword, temp123);For client authentication you usually the the keyStore andkeyStorePassword properties not the trustStore. The keyStore contains
your key and the corresponding certificate presented to the server. ThetrustStore contains certificates of the servers you trust. Actuallytypically not the certificates itself but the CA certificates. The CA
trustStore that comes with your JDK/JRE contains many of the commonlyused CA certificates (Verisign and the like) and normally you don'tneed to make any changes to it.System.setProperty(javax.net.ssl.keyStore
, path tokeystore);System.setProperty(javax.net.ssl.keyStorePassword, password);works for me to use SSL client authentication.The biggest complication typically is to get your keyStore sorted out.
The details of that depend on how you your private/public key pair andfrom that your certificate is issued to you. This topic is however wayoff this list. -Subir S -Original Message-
 From: ip vp [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 14, 2006 6:56 PM To: axis-user@ws.apache.org
 Subject: A concrete axis + ssl client example. Can somebody supply a concrete example of axis client accessing webservice using ssl and a client certificate ?
 regardsManuel-To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com-To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: A concrete axis + ssl client example.

2006-06-16 Thread subir.sasikumar

Hi,

I guess if you use the stubs generated using WSDL2Java then there is nothing 
much to do.
Set the trust store property and trust store password property before invoking 
the client. Just leave the other properties as default it self.

System.setProperty(javax.net.ssl.trustStore, 
c:\\TraceLogs\\tempstore.jks);
System.setProperty(javax.net.ssl.trustStorePassword, temp123);

I can help you if you need any more information (if I know :-) ).

-Subir S

-Original Message-
From: ip vp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 6:56 PM
To: axis-user@ws.apache.org
Subject: A concrete axis + ssl client example.



Can somebody supply a concrete example of axis client accessing webservice
using ssl and a client certificate ?


regards

_
COPA 2006: (¯`·._.·[ Ooola ]·._.·´¯) e + frases para seu MSN  Clique
aqui! http://copa.br.msn.com/extra/frases/


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



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

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



Re: A concrete axis + ssl client example.

2006-06-16 Thread Manuel Mall
On Friday 16 June 2006 21:07, [EMAIL PROTECTED] wrote:
 Hi,

 I guess if you use the stubs generated using WSDL2Java then there is
 nothing much to do. Set the trust store property and trust store
 password property before invoking the client. Just leave the other
 properties as default it self.

 System.setProperty(javax.net.ssl.trustStore,
 c:\\TraceLogs\\tempstore.jks);
 System.setProperty(javax.net.ssl.trustStorePassword, temp123);

For client authentication you usually the the keyStore and 
keyStorePassword properties not the trustStore. The keyStore contains 
your key and the corresponding certificate presented to the server. The 
trustStore contains certificates of the servers you trust. Actually 
typically not the certificates itself but the CA certificates. The CA 
trustStore that comes with your JDK/JRE contains many of the commonly 
used CA certificates (Verisign and the like) and normally you don't 
need to make any changes to it.

        System.setProperty(javax.net.ssl.keyStore, path to 
keystore);
        
System.setProperty(javax.net.ssl.keyStorePassword, password);

works for me to use SSL client authentication.

The biggest complication typically is to get your keyStore sorted out. 
The details of that depend on how you your private/public key pair and 
from that your certificate is issued to you. This topic is however way 
off this list.


 -Subir S

 -Original Message-
 From: ip vp [mailto:[EMAIL PROTECTED]

 Sent: Wednesday, June 14, 2006 6:56 PM
 To: axis-user@ws.apache.org
 Subject: A concrete axis + ssl client example.



 Can somebody supply a concrete example of axis client accessing
 webservice

 using ssl and a client certificate ?


 regards


Manuel

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