Re: [akka-user] Using ssl and tls with akka 2.3.7

2015-04-09 Thread Endre Varga
Hi Tim, On Thu, Apr 9, 2015 at 1:57 AM, Tim Kellogg timothy.kell...@gmail.com wrote: Hi, I tried out this gist with akka-stream % 1.0M5 and it doesn't compile. The main problem is this code // Setup flow conn.flow.join( Flow( Sink(cipher.cipherTextInbound),

Re: [akka-user] Using ssl and tls with akka 2.3.7

2015-01-07 Thread Thomas Zimmer
wow thank you so much Will for this Feedback. I already have a new version (https://gist.github.com/Alien2150/9468c871135fd94869a2) that can deal with multiple connections. I think i will embed your feedback and will come up with a new version. Meanwhile i am struggling with another issue:

Re: [akka-user] Using ssl and tls with akka 2.3.7

2015-01-07 Thread Will Sargent
Finally, as Henry mentioned earlier, the code here doesn't do any server identity checks. If you're using HTTPS, then you should use HostnameChecker directly or set setEndpointIdentificationAlgorithm(HTTPS) directly -- otherwise, you may want to look at RFC 6125 for a generic server identity

Re: [akka-user] Using ssl and tls with akka 2.3.7

2015-01-07 Thread Will Sargent
Hi Thomas, There's some things you should watch out for in your code: * If you want to use TLS 1.2, you should specify getInstance(TLSv1.2) specifically (JDK 1.7 defaults to TLS 1.0) * You should disable SSLv3 (at the very least) using setEnabledProtocols(). * You are better off initializing

Re: [akka-user] Using ssl and tls with akka 2.3.7

2014-12-19 Thread Thomas Zimmer
Hi, I also had this issue but thanks to some examples [https://github.com/xbucchiotty/akka-stream-ssltlscipher/blob/master/src/test/scala/Test.scala] and of course the TLS Specs

Re: [akka-user] Using ssl and tls with akka 2.3.7

2014-12-19 Thread Pavel Popov
Thank you Thomas! Now I can make this thing work :) On Fri, Dec 19, 2014 at 7:56 PM, Thomas Zimmer t...@turtle-entertainment.de wrote: Hi, I also had this issue but thanks to some examples [ https://github.com/xbucchiotty/akka-stream-ssltlscipher/blob/master/src/test/scala/Test.scala] and

Re: [akka-user] Using ssl and tls with akka 2.3.7

2014-12-19 Thread Roland Kuhn
Thanks for sharing! 19 dec 2014 kl. 17:56 skrev Thomas Zimmer t...@turtle-entertainment.de: Hi, I also had this issue but thanks to some examples [https://github.com/xbucchiotty/akka-stream-ssltlscipher/blob/master/src/test/scala/Test.scala] and of course the TLS Specs

Re: [akka-user] Using ssl and tls with akka 2.3.7

2014-12-19 Thread Thomas Zimmer
No problem :) The code is only having one issue that is that it only can accept one ssl-connection atm (and than needs to be restarted) which can be easily fixed. @Rkuhn: Is it correct that i do need a new SSLNegoation instance per client-connection? And is ok to run embeded Flows? Like

Re: [akka-user] Using ssl and tls with akka 2.3.7

2014-12-13 Thread Roland Kuhn
Hi Pavel, an SSL engine can operate on any kind of byte stream, it is not tied to TCP per se. This is why we will offer it as a DSL element that you can plug anywhere into your pipeline. As to looking into the IO package: I am not certain that I would expect SSL to be in there given that SSL

Re: [akka-user] Using ssl and tls with akka 2.3.7

2014-12-13 Thread Pavel Popov
Big thanks!, it explained a lot. On Sat, Dec 13, 2014 at 11:01 AM, Roland Kuhn goo...@rkuhn.info wrote: Hi Pavel, an SSL engine can operate on any kind of byte stream, it is not tied to TCP per se. This is why we will offer it as a DSL element that you can plug anywhere into your pipeline.

Re: [akka-user] Using ssl and tls with akka 2.3.7

2014-12-12 Thread Björn Antonsson
Hi Paul, SSL/TLS support in akka will be part of the akka streams work that is ongoing right now. The aim is to have it available by Q1 2015. B/ On 11 December 2014 at 15:36:36, pa...@blackopsdev.com (pa...@blackopsdev.com) wrote: Hello, everyone! I'm using akka.io 2.3.7 and I don't see any

Re: [akka-user] Using ssl and tls with akka 2.3.7

2014-12-12 Thread Pavel Popov
Thank you for reply. But I don't understand the reason: why it was moved to streams, instead of being a part of IO? But from user's perspective It will be predictable to find SSL listener inside IO package, not somewhere else... On Fri, Dec 12, 2014 at 4:00 PM, Björn Antonsson

[akka-user] Using ssl and tls with akka 2.3.7

2014-12-11 Thread pavel
Hello, everyone! I'm using akka.io 2.3.7 and I don't see any SSL/TLS support there. As far as I understand it was removed (since 2.3.x). Is it correct? Why? Will come back? And... Is there a clean workaround? May be this topic was discussed before, but I didn't find an appropriate link.

Re: [akka-user] Using ssl and tls with akka 2.3.7

2014-12-11 Thread Henry Story
On 11 Dec 2014, at 16:07, henry.st...@bblfish.net wrote: On 11 Dec 2014, at 14:33, pa...@blackopsdev.com mailto:pa...@blackopsdev.com wrote: Hello, everyone! I'm using akka.io 2.3.7 and I don't see any SSL/TLS support there. As far as I understand it was removed (since 2.3.x). Is it