Re: [akka-user] Mutual Authentication using Akka HTTP

2018-01-30 Thread Akka Team
Did you see the Mutual Auth section in the Akka HTTP docs?
https://doc.akka.io/docs/akka-http/10.0.11/scala/http/server-side/server-https-support.html#mutual-authentication

The synthetic Tls-Session-Info header should give you access to the client
certs etc.

--
Johan
Akka Team

On Mon, Jan 29, 2018 at 4:23 PM, David Leonhartsberger 
wrote:

> I am currently faced with the task of implementing client authentication
> via public key certificates for our HTTP endpoints.
>
> One additional complication/requirement is to be able to identify the
> client which is connecting.
> My current guess for this is to extract the Common Name from the
> certificate therefor I must also be able to get programmatic access to the
> certificate which the client is sending.
>
> Does somebody know howto implement this using akka http or on top of akka
> http?
>
> I would be very thankful for any help I can get.
>
> Br
> David
>
> --
> >> 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.


[akka-user] Mutual Authentication using Akka HTTP

2018-01-29 Thread David Leonhartsberger
I am currently faced with the task of implementing client authentication 
via public key certificates for our HTTP endpoints.

One additional complication/requirement is to be able to identify the 
client which is connecting.
My current guess for this is to extract the Common Name from the 
certificate therefor I must also be able to get programmatic access to the 
certificate which the client is sending.

Does somebody know howto implement this using akka http or on top of akka 
http?

I would be very thankful for any help I can get.

Br
David

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