[Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-22 Thread Isuru Perera
Hi, This is regarding StackOverflow question [1]. Basically the user needs to configure sslProtocol + other parameters as defined in Tomcat connector [2]. I gave a quick answer by looking at the docs. I informed that those parameters can be specified in HTTPS Servlet Transport since it is based

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-22 Thread Isuru Perera
Hi all, Thanks Miyuru and Ramith for the information. This is fixed in ESB 4.7.0 with ESBJAVA-2029 [1]. The change is to add a parameter as follows. (I couldn't find about this in ESB Docs!) ... I still have a doubt whether this can be used to achieve StackOverflow user's requirement as there

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-23 Thread Ramith Jayasinghe
So now whats the purpose of "HttpsProtocols" which is also configured in axis2.xml (for esb) ? On Tue, Jul 23, 2013 at 12:14 PM, Isuru Perera wrote: > Hi all, > > Thanks Miyuru and Ramith for the information. > > This is fixed in ESB 4.7.0 with ESBJAVA-2029 [1]. > > The change is to add a param

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-23 Thread Isuru Perera
Hi, On Tue, Jul 23, 2013 at 12:54 PM, Ramith Jayasinghe wrote: > So now whats the purpose of "HttpsProtocols" which is also configured in > axis2.xml (for esb) ? > Could someone from ESB team please give an answer for this? > > > On Tue, Jul 23, 2013 at 12:14 PM, Isuru Perera wrote: > >> Hi al

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-25 Thread Isuru Perera
Hi, When comparing with Tomcat configuration options for SSL [1], it seems that the SSL transports for ESB lacks support for many important configurations. AFAIK, the option to specify SSL protocol only introduced in ESB 4.7.0. On Wed, Jul 24, 2013 at 10:53 AM, Isuru Perera wrote: > > Hi, > >

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-07-29 Thread Jeewantha Dharmaparakrama
To get SSL context when making an HTTPS connection you need to do this. javax.net.ssl.SSLContext sslcontext = javax.net.ssl.SSLContext.getInstance("TLS"); This depends on the JVM. For example on IBM JVM, it should be SSLContext.getInstance("SSL_TLS"); [1] [1] http://publib.boulder.ibm.com/infoce

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-08-30 Thread Reka Thirunavukkarasu
Hi On Mon, Jul 29, 2013 at 5:12 PM, Jeewantha Dharmaparakrama < jeewan...@wso2.com> wrote: > To get SSL context when making an HTTPS connection you need to do this. > > javax.net.ssl.SSLContext sslcontext = > javax.net.ssl.SSLContext.getInstance("TLS"); > > This depends on the JVM. For example o

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-08-30 Thread Jeewantha Dharmaparakrama
We can't pass ciphers to NIO or Passthru transport as we do in Servlet Transport. The provided functionality to specify the SSLProtocol to make javax.net.ssl.SSLContext. The default is "TLS". Jeewantha On Fri, Aug 30, 2013 at 5:48 PM, Reka Thirunavukkarasu wrote: > Hi > > > On Mon, Jul 29, 2013

Re: [Dev] Specifying sslProtocol parameter in Transport Listener of ESB

2013-08-30 Thread Jeewantha Dharmaparakrama
Please see http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/SSLContext.html#getInstance(java.lang.String) http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#SSLContext On Sat, Aug 31, 2013 at 7:03 AM, Jeewantha Dharmaparakrama < jeewan...@wso2.com> wrote: > W