Thanks for the help, yes that did the trick to add one more pull for sslIn.
The reason bytesIn is empty is because I really dont need a bidishape. I
need this logic encapsulated in something with one input and two outputs
because after this handshaking is done there is no need to send any more
c.b.i.b.temp.SubscriptionGraphStage -
StatusMessage(status,Some(123),None,None,None,false,SUCCESS)
20:45:53 [default-akka.actor.default-dispatcher-4] INFO
c.b.i.b.temp.SubscriptionGraphStage - Subscribed
On Tuesday, May 30, 2017 at 8:41:44 PM UTC+2, Henrik Larsson wrote:
>
>
> *Im trying to construct a
*Im trying to construct a GaphStage that will be used when connecting to a TCP
socket. The following protocol is used when connecting:
1. Materialize TCP flow to create an outgoingConnection
2. Socket return Connect message
3. If Connect message OK send AuthenticationMessage
4. If OK response
Im finding the idea of Akka Stream a very nice fit to the application im
building. Im building a realtime decision system with the following
functionality.
1. Make HTTPS POST request to get a *sessionToken* string
2. Start a keep-alive service to ping session server at 3h intervals
3.
, Konrad Malawski wrote:
>
> It's plain Java, configure the SSLContext as usual and provide it to the
> HttpsConnectionContext.
>
> --
> Konrad `ktoso` Malawski
> Akka <http://akka.io> @ Lightbend <http://lightbend.com>
>
> On 8 May 2017 at 15:18:21, Henrik L
Ok thanks, so far I have found this example wich i guess i can make work on
the client side also
https://github.com/rklaehn/akkahttpsserver/blob/master/src/main/scala/httpsserver/Server.scala
However I would like to send the key and crt separate and in the exampel
they use p12. Is there any