Re: [akka-user] Re: Akka Java IO TLS

2016-08-08 Thread Vinay Gajjala
Thank you for the response. I will surely try your suggestions. I thought I 
might not have explained my problem clearly so I created another post with 
more details you can search this string ("Akka v2.3.14 with Java 7 - TLS 
configuration") to find it in the group

Regards
Vinay


On Thursday, August 4, 2016 at 5:20:49 PM UTC-5, Konrad Malawski wrote:
>
> I have found handing SSL/TLS from JVM a PITA. Why you don't put the SSL 
> termination in front of the Akka HTTP endpoint (e.g. nginx) ?
>
>
> I'd honestly +1 that  (a lot).
>
> -- 
> Konrad `ktoso` Malawski
> Akka  @ Lightbend 
>
>

-- 
>>  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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] Re: Akka Java IO TLS

2016-08-04 Thread Konrad Malawski
I have found handing SSL/TLS from JVM a PITA. Why you don't put the SSL
termination in front of the Akka HTTP endpoint (e.g. nginx) ?


I'd honestly +1 that  (a lot).

-- 
Konrad `ktoso` Malawski
Akka  @ Lightbend 

-- 
>>  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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] Re: Akka Java IO TLS

2016-08-04 Thread Любен
I have found handing SSL/TLS from JVM a PITA. Why you don't put the SSL
termination in front of the Akka HTTP endpoint (e.g. nginx) ?

On Wed, Jul 27, 2016 at 4:36 PM, Akka Team  wrote:

> The easiest path would probably be Akka Streams for TCP (
> http://doc.akka.io/docs/akka/2.4/scala/stream/stream-io.html) and the
> existing TLS graph module (http://doc.akka.io/api/akka/
> 2.4/#akka.stream.scaladsl.TLS$). There isn't much documentation on the
> TLS module, but you should be able look at how it is used in Akka HTTP.
>
> I don't think you would benefit hugely from the fact that Akka remoting
> uses Netty if you want to go down that path, most of the classes are Akka
> private and not very generic. You can of course just introduce Netty as a
> separate dependency and use that directly if you want.
>
> --
> Johan
>
> On Thu, Jul 21, 2016 at 9:12 PM, Vinay Gajjala  wrote:
>
>> After rethinking and researching was wondering if I can configure/code
>> the netty API which Akka uses to achieve the TLS. I am now sure how
>> efficient is this. Any help would be greatly appreciated
>>
>> Thanks
>> Vinay
>>
>> On Monday, July 18, 2016 at 11:13:33 AM UTC-5, Vinay Gajjala wrote:
>>>
>>> Hi
>>>
>>> I am a newbie in Akka and I implemented a TCP server which listens to
>>> device traffic. I have searched online and could not find any concrete
>>> examples of how to configure TLS using Akka IO.
>>>
>>> I am not sure if I am missing the obvious.
>>>
>>> Thanks in advance,
>>> Vinay
>>>
>> --
>> >> 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 https://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 https://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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] Re: Akka Java IO TLS

2016-07-27 Thread Akka Team
The easiest path would probably be Akka Streams for TCP (
http://doc.akka.io/docs/akka/2.4/scala/stream/stream-io.html) and the
existing TLS graph module (
http://doc.akka.io/api/akka/2.4/#akka.stream.scaladsl.TLS$). There isn't
much documentation on the TLS module, but you should be able look at how it
is used in Akka HTTP.

I don't think you would benefit hugely from the fact that Akka remoting
uses Netty if you want to go down that path, most of the classes are Akka
private and not very generic. You can of course just introduce Netty as a
separate dependency and use that directly if you want.

--
Johan

On Thu, Jul 21, 2016 at 9:12 PM, Vinay Gajjala  wrote:

> After rethinking and researching was wondering if I can configure/code the
> netty API which Akka uses to achieve the TLS. I am now sure how efficient
> is this. Any help would be greatly appreciated
>
> Thanks
> Vinay
>
> On Monday, July 18, 2016 at 11:13:33 AM UTC-5, Vinay Gajjala wrote:
>>
>> Hi
>>
>> I am a newbie in Akka and I implemented a TCP server which listens to
>> device traffic. I have searched online and could not find any concrete
>> examples of how to configure TLS using Akka IO.
>>
>> I am not sure if I am missing the obvious.
>>
>> Thanks in advance,
>> Vinay
>>
> --
> >> 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 https://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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.