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), // Incoming data (client - 
 sslActor - server)
   Source(cipher.cipherTextOutbound) // Outgoing data (server - 
 sslActor - client)
 )
   ).run()

 I know this code was written in January, but can someone translate this
 into code that compiles with the current version of akka-stream?


The engine is currently being ported to the new API style, the old code you
see is very cumbersome and have some bugs we want to fix. The new TLS
engine is scheduled for 1.0-RC1 which is our next milestone.

-Endre




 Much thanks,
 Tim

 On Wednesday, January 7, 2015 at 1:45:50 PM UTC-8, Thomas Zimmer wrote:

 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: https://groups.google.
 com/forum/#!topic/akka-user/wjUy6g2NUOg

 Regards,
 Thomas



 On Wednesday, January 7, 2015 7:25:06 PM UTC+1, Will Sargent wrote:

 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 the SSLContext with null instead of
 new SecureRandom, and leave it up to JSSE itself.

 Also a couple of configuration points:

 * Since you are using SSLEngine in server mode, you should start the JVM
 with -Djdk.tls.rejectClientInitiatedRenegotiation=true to disable
 client renegotation.
 * You should also set -Djdk.tls.ephemeralDHKeySize=2048 to increase the
 hardcoded keysize internally.

 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 check.  More here: http://tersesystems.com/
 2014/03/23/fixing-hostname-verification/

 Hope that helps,

 Will.

 On Friday, December 19, 2014 8:56:39 AM UTC-8, Thomas Zimmer 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 of course the TLS Specs [
 https://github.com/akka/akka/blob/62a20195af79c7b405303b5f97970c
 9ca7a6891a/akka-stream/src/test/scala/akka/stream/io/
 SslTlsFlowSpec.scala] i could create a small actor-application which
 is using reactive streams:

 https://gist.github.com/Alien2150/d0c74d99c19df59109ff

 You can simply run it with openssl s_client (Which I used during
 testing).

 Regards,
 Thomas


 On Saturday, December 13, 2014 10:42:01 AM UTC+1, Pavel Popov wrote:

 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. As to looking into the IO package: I am
 not certain that I would expect SSL to be in there given that SSL itself
 does not do IO, it is only an encryption protocol suite.

 Regards,

 Roland

 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com:

 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 
 bjorn.a...@typesafe.com wrote:

 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 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.


 Thanks, Paul

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: http://doc.akka.io/docs/akka/
 current/additional/faq.html
  Search the archives: https://groups.google.com/
 group/akka-user
 ---
 You received this message because you are subscribed to the Google
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to 

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: https://groups.google.com/forum/#!topic/akka-user/wjUy6g2NUOg

Regards,
Thomas



On Wednesday, January 7, 2015 7:25:06 PM UTC+1, Will Sargent wrote:

 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 the SSLContext with null instead of new 
 SecureRandom, and leave it up to JSSE itself.

 Also a couple of configuration points:

 * Since you are using SSLEngine in server mode, you should start the JVM 
 with -Djdk.tls.rejectClientInitiatedRenegotiation=true to disable client 
 renegotation.
 * You should also set -Djdk.tls.ephemeralDHKeySize=2048 to increase the 
 hardcoded keysize internally.

 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 check.  More here: 
 http://tersesystems.com/2014/03/23/fixing-hostname-verification/

 Hope that helps,

 Will.

 On Friday, December 19, 2014 8:56:39 AM UTC-8, Thomas Zimmer 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 of course the TLS Specs [
 https://github.com/akka/akka/blob/62a20195af79c7b405303b5f97970c9ca7a6891a/akka-stream/src/test/scala/akka/stream/io/SslTlsFlowSpec.scala]
  
 i could create a small actor-application which is using reactive streams:

 https://gist.github.com/Alien2150/d0c74d99c19df59109ff

 You can simply run it with openssl s_client (Which I used during testing).

 Regards,
 Thomas


 On Saturday, December 13, 2014 10:42:01 AM UTC+1, Pavel Popov wrote:

 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. As to looking into the IO package: I am not 
 certain that I would expect SSL to be in there given that SSL itself does 
 not do IO, it is only an encryption protocol suite.

 Regards,

 Roland

 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com:

 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 
 bjorn.a...@typesafe.com wrote:

 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 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.


 Thanks, Paul

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 -- 
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson


 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more 

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 check.  More here:
http://tersesystems.com/2014/03/23/fixing-hostname-verification/

Addendum: forgot to mention that server identity checks only really matter
if you have SSLEngine operating as a client, rather than as a server, so
it's not a requirement.

Will Sargent
Consultant, Professional Services
Typesafe http://typesafe.com, the company behind Play Framework
http://www.playframework.com, Akka http://akka.io and Scala
http://www.scala-lang.org/

On Wed, Jan 7, 2015 at 10:25 AM, Will Sargent will.sarg...@typesafe.com
wrote:

 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 the SSLContext with null instead of new
 SecureRandom, and leave it up to JSSE itself.

 Also a couple of configuration points:

 * Since you are using SSLEngine in server mode, you should start the JVM
 with -Djdk.tls.rejectClientInitiatedRenegotiation=true to disable client
 renegotation.
 * You should also set -Djdk.tls.ephemeralDHKeySize=2048 to increase the
 hardcoded keysize internally.

 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 check.  More here:
 http://tersesystems.com/2014/03/23/fixing-hostname-verification/

 Hope that helps,

 Will.

 On Friday, December 19, 2014 8:56:39 AM UTC-8, Thomas Zimmer 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 of course the TLS Specs [
 https://github.com/akka/akka/blob/62a20195af79c7b405303b5f97970c
 9ca7a6891a/akka-stream/src/test/scala/akka/stream/io/SslTlsFlowSpec.scala]
 i could create a small actor-application which is using reactive streams:

 https://gist.github.com/Alien2150/d0c74d99c19df59109ff

 You can simply run it with openssl s_client (Which I used during testing).

 Regards,
 Thomas


 On Saturday, December 13, 2014 10:42:01 AM UTC+1, Pavel Popov wrote:

 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. As to looking into the IO package: I am not
 certain that I would expect SSL to be in there given that SSL itself does
 not do IO, it is only an encryption protocol suite.

 Regards,

 Roland

 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com:

 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 
 bjorn.a...@typesafe.com wrote:

 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 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.


 Thanks, Paul

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: http://doc.akka.io/docs/akka/
 current/additional/faq.html
  Search the archives: https://groups.google.com/
 group/akka-user
 ---
 You received this message because you are subscribed to the Google
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 --
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson


 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: http://doc.akka.io/docs/akka/
 current/additional/faq.html
  Search the archives: https://groups.google.com/
 group/akka-user
 ---
 

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 the SSLContext with null instead of new 
SecureRandom, and leave it up to JSSE itself.

Also a couple of configuration points:

* Since you are using SSLEngine in server mode, you should start the JVM 
with -Djdk.tls.rejectClientInitiatedRenegotiation=true to disable client 
renegotation.
* You should also set -Djdk.tls.ephemeralDHKeySize=2048 to increase the 
hardcoded keysize internally.

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 check.  More 
here: http://tersesystems.com/2014/03/23/fixing-hostname-verification/

Hope that helps,

Will.

On Friday, December 19, 2014 8:56:39 AM UTC-8, Thomas Zimmer 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 of course the TLS Specs [
 https://github.com/akka/akka/blob/62a20195af79c7b405303b5f97970c9ca7a6891a/akka-stream/src/test/scala/akka/stream/io/SslTlsFlowSpec.scala]
  
 i could create a small actor-application which is using reactive streams:

 https://gist.github.com/Alien2150/d0c74d99c19df59109ff

 You can simply run it with openssl s_client (Which I used during testing).

 Regards,
 Thomas


 On Saturday, December 13, 2014 10:42:01 AM UTC+1, Pavel Popov wrote:

 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. As to looking into the IO package: I am not 
 certain that I would expect SSL to be in there given that SSL itself does 
 not do IO, it is only an encryption protocol suite.

 Regards,

 Roland

 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com:

 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 
 bjorn.a...@typesafe.com wrote:

 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 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.


 Thanks, Paul

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 -- 
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson


 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com.
 To post to 

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 
[https://github.com/akka/akka/blob/62a20195af79c7b405303b5f97970c9ca7a6891a/akka-stream/src/test/scala/akka/stream/io/SslTlsFlowSpec.scala]
 
i could create a small actor-application which is using reactive streams:

https://gist.github.com/Alien2150/d0c74d99c19df59109ff

You can simply run it with openssl s_client (Which I used during testing).

Regards,
Thomas


On Saturday, December 13, 2014 10:42:01 AM UTC+1, Pavel Popov wrote:

 Big thanks!, it explained a lot.

 On Sat, Dec 13, 2014 at 11:01 AM, Roland Kuhn goo...@rkuhn.info 
 javascript: 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. As to looking into the IO package: I am not 
 certain that I would expect SSL to be in there given that SSL itself does 
 not do IO, it is only an encryption protocol suite.

 Regards,

 Roland

 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com 
 javascript::

 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 bjorn.a...@typesafe.com 
 javascript: wrote:

 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 javascript: (
 pa...@blackopsdev.com javascript:) 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 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.


 Thanks, Paul

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com javascript:.
 To post to this group, send email to akka...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 -- 
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson


 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com javascript:.
 To post to this group, send email to akka...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+...@googlegroups.com javascript:.
 To post to this group, send email to akka...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.




 *Dr. Roland Kuhn*
 *Akka Tech Lead*
 Typesafe http://typesafe.com/ – Reactive apps on the JVM.
 twitter: @rolandkuhn
 http://twitter.com/#!/rolandkuhn
  
  -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+...@googlegroups.com javascript:.
 To post to this group, send email to akka...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.



-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 

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 of course the TLS Specs [
 https://github.com/akka/akka/blob/62a20195af79c7b405303b5f97970c9ca7a6891a/akka-stream/src/test/scala/akka/stream/io/SslTlsFlowSpec.scala]
 i could create a small actor-application which is using reactive streams:

 https://gist.github.com/Alien2150/d0c74d99c19df59109ff

 You can simply run it with openssl s_client (Which I used during testing).

 Regards,
 Thomas


 On Saturday, December 13, 2014 10:42:01 AM UTC+1, Pavel Popov wrote:

 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. As to looking into the IO package: I am not
 certain that I would expect SSL to be in there given that SSL itself does
 not do IO, it is only an encryption protocol suite.

 Regards,

 Roland

 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com:

 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 
 bjorn.a...@typesafe.com wrote:

 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 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.


 Thanks, Paul

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: http://doc.akka.io/docs/akka/
 current/additional/faq.html
  Search the archives: https://groups.google.com/
 group/akka-user
 ---
 You received this message because you are subscribed to the Google
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 --
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson


 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: http://doc.akka.io/docs/akka/
 current/additional/faq.html
  Search the archives: https://groups.google.com/
 group/akka-user
 ---
 You received this message because you are subscribed to the Google
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: http://doc.akka.io/docs/akka/
 current/additional/faq.html
  Search the archives: https://groups.google.com/
 group/akka-user
 ---
 You received this message because you are subscribed to the Google
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.




 *Dr. Roland Kuhn*
 *Akka Tech Lead*
 Typesafe http://typesafe.com/ – Reactive apps on the JVM.
 twitter: @rolandkuhn
 http://twitter.com/#!/rolandkuhn

  --
  Read the docs: http://akka.io/docs/
  Check the FAQ: http://doc.akka.io/docs/akka/
 current/additional/faq.html
  Search the archives: https://groups.google.com/
 group/akka-user
 ---
 You received this message because you are subscribed to the Google
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.

  --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search 

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 
 [https://github.com/akka/akka/blob/62a20195af79c7b405303b5f97970c9ca7a6891a/akka-stream/src/test/scala/akka/stream/io/SslTlsFlowSpec.scala]
  i could create a small actor-application which is using reactive streams:
 
 https://gist.github.com/Alien2150/d0c74d99c19df59109ff
 
 You can simply run it with openssl s_client (Which I used during testing).
 
 Regards,
 Thomas
 
 
 On Saturday, December 13, 2014 10:42:01 AM UTC+1, Pavel Popov wrote:
 Big thanks!, it explained a lot.
 
 On Sat, Dec 13, 2014 at 11:01 AM, Roland Kuhn goo...@rkuhn.info 
 javascript: 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. As to looking into the IO package: I am not 
 certain that I would expect SSL to be in there given that SSL itself does not 
 do IO, it is only an encryption protocol suite.
 
 Regards,
 
 Roland
 
 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com 
 javascript::
 
 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 bjorn.a...@typesafe.com 
 javascript: wrote:
 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 javascript: 
 (pa...@blackopsdev.com javascript:) wrote:
 
 Hello, everyone!
 I'm using akka.io http://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.
 
 
 Thanks, Paul
 
 --
  Read the docs: http://akka.io/docs/ http://akka.io/docs/
  Check the FAQ: 
  http://doc.akka.io/docs/akka/current/additional/faq.html 
  http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user 
  https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+...@googlegroups.com javascript:.
 To post to this group, send email to akka...@googlegroups.com javascript:.
 Visit this group at http://groups.google.com/group/akka-user 
 http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.
 
 
 -- 
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson
 
 
 -- 
  Read the docs: http://akka.io/docs/ http://akka.io/docs/
  Check the FAQ: 
  http://doc.akka.io/docs/akka/current/additional/faq.html 
  http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user 
  https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+...@googlegroups.com javascript:.
 To post to this group, send email to akka...@googlegroups.com javascript:.
 Visit this group at http://groups.google.com/group/akka-user 
 http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.
 
 -- 
  Read the docs: http://akka.io/docs/ http://akka.io/docs/
  Check the FAQ: 
  http://doc.akka.io/docs/akka/current/additional/faq.html 
  http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user 
  https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+...@googlegroups.com javascript:.
 To post to this group, send email to akka...@googlegroups.com javascript:.
 Visit this group at http://groups.google.com/group/akka-user 
 http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.
 
 
 
 Dr. Roland Kuhn
 Akka Tech Lead
 Typesafe http://typesafe.com/ – Reactive apps on the JVM.
 twitter: 

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 here: 
ServerBinding.Connections - TlsCipher - SessionInboundData. 

Regards,
Thomas

On Friday, December 19, 2014 8:31:23 PM UTC+1, rkuhn wrote:

 Thanks for sharing!

 19 dec 2014 kl. 17:56 skrev Thomas Zimmer t...@turtle-entertainment.de 
 javascript::

 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 [
 https://github.com/akka/akka/blob/62a20195af79c7b405303b5f97970c9ca7a6891a/akka-stream/src/test/scala/akka/stream/io/SslTlsFlowSpec.scala]
  
 i could create a small actor-application which is using reactive streams:

 https://gist.github.com/Alien2150/d0c74d99c19df59109ff

 You can simply run it with openssl s_client (Which I used during testing).

 Regards,
 Thomas


 On Saturday, December 13, 2014 10:42:01 AM UTC+1, Pavel Popov wrote:

 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. As to looking into the IO package: I am not 
 certain that I would expect SSL to be in there given that SSL itself does 
 not do IO, it is only an encryption protocol suite.

 Regards,

 Roland

 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com:

 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 
 bjorn.a...@typesafe.com wrote:

 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 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.


 Thanks, Paul

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 -- 
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson


 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google 
 Groups Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to akka-user+...@googlegroups.com.
 To post to this group, send email to akka...@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.




 *Dr. Roland Kuhn*
 *Akka Tech Lead*
 Typesafe http://typesafe.com/ – Reactive apps on the JVM.
 twitter: @rolandkuhn
 http://twitter.com/#!/rolandkuhn
  

 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: 
 https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google 
 Groups Akka User 

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 itself does not do IO, it is 
only an encryption protocol suite.

Regards,

Roland

 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com:
 
 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 
 bjorn.antons...@typesafe.com mailto:bjorn.antons...@typesafe.com wrote:
 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 
 mailto:pa...@blackopsdev.com (pa...@blackopsdev.com 
 mailto:pa...@blackopsdev.com) wrote:
 
 Hello, everyone!
 I'm using akka.io http://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.
 
 
 Thanks, Paul
 
 --
  Read the docs: http://akka.io/docs/ http://akka.io/docs/
  Check the FAQ: 
  http://doc.akka.io/docs/akka/current/additional/faq.html 
  http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user 
  https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+unsubscr...@googlegroups.com 
 mailto:akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com 
 mailto:akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user 
 http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.
 
 
 -- 
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson
 
 
 -- 
  Read the docs: http://akka.io/docs/ http://akka.io/docs/
  Check the FAQ: 
  http://doc.akka.io/docs/akka/current/additional/faq.html 
  http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user 
  https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+unsubscr...@googlegroups.com 
 mailto:akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com 
 mailto:akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user 
 http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.
 
 -- 
  Read the docs: http://akka.io/docs/ http://akka.io/docs/
  Check the FAQ: 
  http://doc.akka.io/docs/akka/current/additional/faq.html 
  http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user 
  https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+unsubscr...@googlegroups.com 
 mailto:akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com 
 mailto:akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user 
 http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe http://typesafe.com/ – Reactive apps on the JVM.
twitter: @rolandkuhn
 http://twitter.com/#!/rolandkuhn

-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more 

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. As to looking into the IO package: I am not
 certain that I would expect SSL to be in there given that SSL itself does
 not do IO, it is only an encryption protocol suite.

 Regards,

 Roland

 12 dec 2014 kl. 16:36 skrev Pavel Popov pa...@blackopsdev.com:

 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 
 bjorn.antons...@typesafe.com wrote:

 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 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.


 Thanks, Paul

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 --
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson


 --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.




 *Dr. Roland Kuhn*
 *Akka Tech Lead*
 Typesafe http://typesafe.com/ – Reactive apps on the JVM.
 twitter: @rolandkuhn
 http://twitter.com/#!/rolandkuhn

  --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


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 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.


Thanks, Paul

--
 Read the docs: http://akka.io/docs/
 Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
 Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


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 
bjorn.antons...@typesafe.com wrote:

 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 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.


 Thanks, Paul

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


 --
 Björn Antonsson
 Typesafe http://typesafe.com/ – Reactive Apps on the JVM
 twitter: @bantonsson http://twitter.com/#!/bantonsson

  --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.


-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


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 correct?
 Why? Will come back?
 
 TLS (a.k.a SSL ) server support has been added recently .
 It is still missing client certificate renegotiation for it to be useful 
 enough for
 me to move my server away from netty to akka.
 
 https://github.com/akka/akka/issues/15833 
 https://github.com/akka/akka/issues/15833
 
 
 
 And... Is there a clean workaround? 
 May be this topic was discussed before, but I didn't find an appropriate 
 link.
 
 
 Thanks, Paul
 
 
 -- 
  Read the docs: http://akka.io/docs/ http://akka.io/docs/
  Check the FAQ: 
  http://doc.akka.io/docs/akka/current/additional/faq.html 
  http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user 
  https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+unsubscr...@googlegroups.com 
 mailto:akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com 
 mailto:akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user 
 http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout 
 https://groups.google.com/d/optout.
 
 Social Web Architect
 http://bblfish.net/ http://bblfish.net/
Social Web Architect
http://bblfish.net/

-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.