square / rails-auth

Modular resource-based authentication and authorization for Rails/Rack
Apache License 2.0
291 stars 23 forks source link

Handle javax.servlet.request.X509Certificate arrays #27

Closed tarcieri closed 8 years ago

tarcieri commented 8 years ago

Apparently these are passed into the Rack environment as an array instead of an individual cert, so extract the first one and attempt to verify it.

tarcieri commented 8 years ago

cc @thirstscolr @ewr @zanker