Re: Customizing SSL in HttpClient

2013-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 6/11/13 6:12 AM, Martin Gainty wrote: > if you want JSSE Handshaking to be enabled on server enable > AprLifecycle Listener on server.xml e.g. className="org.apache.catalina.core.AprLifecycleListener" > SSLEngine="on" /> This is absolut

Re: Customizing SSL in HttpClient

2013-06-11 Thread Christopher Schultz
o: Tomcat Users List Subject: Re: Customizing SSL in > HttpClient > > Anil, > > On 6/10/13 8:42 AM, Anil Goyal -X (anigoyal - Aricent Technologies > at Cisco) wrote: >> I am trying to create a http client and send a request to certain >> port of a server using below c

Re: Customizing SSL in HttpClient

2013-06-11 Thread Konstantin Kolinko
2013/6/11 Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) : > > Please consider the code flow as below: > > HttpClient client = new HttpClient(); > portNumber = secure ? LocalNetworkConstants.DEFAULT_HTTPS_PORT : > LocalNetworkConstants.DEFAULT_HTTP_PORT; // DEFAULT_HTTPS_PORT=8444 and >

RE: Customizing SSL in HttpClient

2013-06-11 Thread Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)
- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, June 11, 2013 3:43 PM To: Tomcat Users List Subject: RE: Customizing SSL in HttpClient Anil if you want JSSE Handshaking to be enabled on server enable AprLifecycle Listener on server.xml e.g. Any WebServer (including Tomcat

RE: Customizing SSL in HttpClient

2013-06-11 Thread Martin Gainty
atoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: anigo...@cisco.com > To: users@tomcat.apache.org > Subject: RE: Customizing SSL in HttpClient > Date: Tue, 11 Jun 2013 06

RE: Customizing SSL in HttpClient

2013-06-10 Thread Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)
-Original Message- From: Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) Sent: Tuesday, June 11, 2013 11:23 AM To: Tomcat Users List Subject: RE: Customizing SSL in HttpClient -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent

RE: Customizing SSL in HttpClient

2013-06-10 Thread Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, June 10, 2013 7:51 PM To: Tomcat Users List Subject: Re: Customizing SSL in HttpClient -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anil, On 6/10/13 8:42 AM, Anil Goyal -X (anigoyal

Re: Customizing SSL in HttpClient

2013-06-10 Thread Konstantin Kolinko
2013/6/10 Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) : > Hi > > I am trying to create a http client and send a request to certain port of a > server using below code: > > HttpClient client = new HttpClient(); > client.getHostConfiguration().setHost(address, portNumber, protocol); > >

Re: Customizing SSL in HttpClient

2013-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eugéne, On 6/10/13 12:24 PM, Eugène Adell wrote: > is there any reason to implement an http client instead of using > wget/cURL ? If you need a CLI/GUI client you still can use > jtouch.sourceforge.net which allows some fine tuning (SSL > provider

Re: Customizing SSL in HttpClient

2013-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anil, On 6/10/13 8:42 AM, Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) wrote: > I am trying to create a http client and send a request to certain > port of a server using below code: > > HttpClient client = new HttpClient(); > client.