[Resteasy-users] Fwd: Regarding Ssl handshake during certificate authentication on jboss

2013-08-29 Thread Mukul Panwar





Sent from my iPhone

Begin forwarded message:



From: muku...@hcl.com
Date: August 29, 2013, 7:00:06 AM GMT05:30
To: Bill Burke bbu...@redhat.com
Cc: resteasy-users@lists.sourceforge.net
Subject: Regarding Ssl handshake during certificate authentication on jboss




Hi Bill

I have a resteasy client and doing post request . I also set the keystore as trusted and cert key entries before sending the request.

The server also having import the client key in their keystore certificate.

Means we are doing Two way mutual certificate authentication .

The client and server doing handshake successfully . But for each request there is a new handshake where as they should use the session of first Ssl handshake. Please suggest about or give any reference for this.

Thanks
Mukul


::DISCLAIMER::
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.




--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users


Re: [Resteasy-users] Fwd: Regarding Ssl handshake during certificate authentication on jboss

2013-08-29 Thread Bill Burke
I have used certs successfully before.

On 8/29/2013 9:31 AM, Mukul Panwar wrote:


 Sent from my iPhone

 Begin forwarded message:

 *From:* muku...@hcl.com mailto:muku...@hcl.com
 *Date:* August 29, 2013, 7:00:06 AM GMT+05:30
 *To:* Bill Burke bbu...@redhat.com mailto:bbu...@redhat.com
 *Cc:* resteasy-users@lists.sourceforge.net
 mailto:resteasy-users@lists.sourceforge.net
 *Subject:* *Regarding Ssl handshake during certificate authentication
 on jboss*

 Hi Bill

 I have a resteasy client and doing post request . I also set the
 keystore as trusted and cert key entries before sending the request.

 The server also having import the client key in their keystore
 certificate.

 Means we are doing Two way mutual certificate authentication .

 The client and server doing handshake successfully . But for each
 request there is a new handshake where as they should use the session
 of first Ssl handshake. Please suggest about or give any reference for
 this.

 Thanks
 Mukul



 ::DISCLAIMER::
 

 The contents of this e-mail and any attachment(s) are confidential and
 intended for the named recipient(s) only.
 E-mail transmission is not guaranteed to be secure or error-free as
 information could be intercepted, corrupted,
 lost, destroyed, arrive late or incomplete, or may contain viruses in
 transmission. The e mail and its contents
 (with or without referred errors) shall therefore not attach any
 liability on the originator or HCL or its affiliates.
 Views or opinions, if any, presented in this email are solely those of
 the author and may not necessarily reflect the
 views or opinions of HCL or its affiliates. Any form of reproduction,
 dissemination, copying, disclosure, modification,
 distribution and / or publication of this message without the prior
 written consent of authorized representative of
 HCL is strictly prohibited. If you have received this email in error
 please delete it and notify the sender immediately.
 Before opening any email and/or attachments, please check them for
 viruses and other defects.

 



 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!
 http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk



 ___
 Resteasy-users mailing list
 Resteasy-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/resteasy-users


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk
___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users


Re: [Resteasy-users] Fwd: Regarding Ssl handshake during certificate authentication on jboss

2013-08-29 Thread Weinan Li


-- 
Weinan Li


On Friday, August 30, 2013 at 12:20 AM, Mukul Panwar wrote:

 Hi Bill
 
 I also tried successfully to implement certificate authentication but SsL 
 handshake doing every time of request. Which should reuse the first handshake 
 session. Please suggest about it.

Hi Mukul, are you using the RESTEasy provided security solution (like skeleton 
and resteasy-crypto) or JBoss AS provided SSL connector?

If you are using the SSL connection provided by JBoss AS, it could be a 
configuration problem. Could you please provide the configs you've used so that 
I could check it for you?
 
 Thanks
 Mukul 
 
 On Aug 29, 2013, at 7:11 PM, Bill Burke bbu...@redhat.com 
 (mailto:bbu...@redhat.com) wrote:
 
  I have used certs successfully before.
  
  On 8/29/2013 9:31 AM, Mukul Panwar wrote:
   
   
   Sent from my iPhone
   
   Begin forwarded message:
   
*From:* muku...@hcl.com mailto:muku...@hcl.com
*Date:* August 29, 2013, 7:00:06 AM GMT+05:30
*To:* Bill Burke bbu...@redhat.com mailto:bbu...@redhat.com
*Cc:* resteasy-users@lists.sourceforge.net 
(mailto:resteasy-users@lists.sourceforge.net)
mailto:resteasy-users@lists.sourceforge.net
*Subject:* *Regarding Ssl handshake during certificate authentication
on jboss*

Hi Bill

I have a resteasy client and doing post request . I also set the
keystore as trusted and cert key entries before sending the request.

The server also having import the client key in their keystore
certificate.

Means we are doing Two way mutual certificate authentication .

The client and server doing handshake successfully . But for each
request there is a new handshake where as they should use the session
of first Ssl handshake. Please suggest about or give any reference for
this.

Thanks
Mukul
   
   
   
   
   
   ::DISCLAIMER::
   
   
   The contents of this e-mail and any attachment(s) are confidential and
   intended for the named recipient(s) only.
   E-mail transmission is not guaranteed to be secure or error-free as
   information could be intercepted, corrupted,
   lost, destroyed, arrive late or incomplete, or may contain viruses in
   transmission. The e mail and its contents
   (with or without referred errors) shall therefore not attach any
   liability on the originator or HCL or its affiliates.
   Views or opinions, if any, presented in this email are solely those of
   the author and may not necessarily reflect the
   views or opinions of HCL or its affiliates. Any form of reproduction,
   dissemination, copying, disclosure, modification,
   distribution and / or publication of this message without the prior
   written consent of authorized representative of
   HCL is strictly prohibited. If you have received this email in error
   please delete it and notify the sender immediately.
   Before opening any email and/or attachments, please check them for
   viruses and other defects.
   
   
   
   
   
   --
   Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
   Discover the easy way to master current and previous Microsoft 
   technologies
   and advance your career. Get an incredible 1,500+ hours of step-by-step
   tutorial videos with LearnDevNow. Subscribe today and save!
   http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk
   
   
   
   ___
   Resteasy-users mailing list
   Resteasy-users@lists.sourceforge.net 
   (mailto:Resteasy-users@lists.sourceforge.net)
   https://lists.sourceforge.net/lists/listinfo/resteasy-users
  
  
  
  -- 
  Bill Burke
  JBoss, a division of Red Hat
  http://bill.burkecentral.com
  
  --
  Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
  Discover the easy way to master current and previous Microsoft technologies
  and advance your career. Get an incredible 1,500+ hours of step-by-step
  tutorial videos with LearnDevNow. Subscribe today and save!
  http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk
  ___
  Resteasy-users mailing list
  Resteasy-users@lists.sourceforge.net 
  (mailto:Resteasy-users@lists.sourceforge.net)
  https://lists.sourceforge.net/lists/listinfo/resteasy-users
 
 
 
 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft