Nice thanks I got it working now! However is there a way to set HTTPS 
settings on the Http().singleRequest? The docs says it uses the default but 
i just want to set the HTTPS setting on this speficic request, all others 
should have another setting.

On Monday, May 8, 2017 at 8:19:19 AM UTC+2, 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 Larsson (favetel...@gmail.com 
> <javascript:>) wrote:
>
> 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 example on how to configure with a case like 
> this?
>
> On Monday, May 8, 2017 at 8:09:26 AM UTC+2, Konrad Malawski wrote: 
>>
>> My guess right now is that they do the same thing but the part under 
>> SSL-Config sets up the system default HttpsContext, is this correct?
>>
>> Yes, that's the case.
>>
>> SSLConfig is merely a helper utility you can use to easily set up things. 
>> You can not use it if you don't want to.
>>
>>
>> -- 
>> Konrad `ktoso` Malawski
>> Akka <http://akka.io> @ Lightbend <http://lightbend.com>
>>
>> --
> >>>>>>>>>> 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 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.

Reply via email to