Can I authenticate using X.509 client certificates?

Asked by Björn Hagemeier

Hi there,

we have a use case where users have X.509 client certificates. The current draft of the Identity API v3 [1] states "The 'just a token' has been the starting requirement, and with PKI coming online, it provides a resource path for the tokens independent of linkages to anything else."

How would I set this up and can it be done with any version of Keystone that is available today? I am currently running stable/essex from a devstack installation. I do know how to setup WSGI services in an Apache2 [2], such that the real "authentication" (the user proving that he has the private data beloging to the certificate) leads to an X.509 DN which should be mapped to a Keystone user. Can this DN be considered the "token"? I guess for a direct mapping the tenant for one user would have to be fixed, but this seems to be a limitation of other already documented credential mechanisms as well. I think one could even add a header to the HTTP(S) request to pass in the Tenant in addition to the user credential.

Best regards,
Björn

[1] https://docs.google.com/document/d/1s9C4EMxIZ55kZr62CKEC9ip7He_Q4_g1KRfSk9hY-Sg/edit#heading=h.exf8l44oq5hr
[2] http://www.rackspace.com/blog/enabling-ssl-for-the-openstack-api/

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Solved by:
Joseph Heck
Solved:
Last query:
Last reply:
Revision history for this message
Björn Hagemeier (b-hagemeier) said :
#1

I just now saw the pki blueprint at https://blueprints.launchpad.net/keystone/+spec/pki

so it looks as though something is in the queue.

Revision history for this message
Best Joseph Heck (heckj) said :
#2

It is something in the queue - and isn't implemented today. The V3 API draft was published all of a week ago, and the PKI functionality in rough implementation is in process now (per the blueprint you cited)

-joe

Revision history for this message
Björn Hagemeier (b-hagemeier) said :
#3

Thanks a lot for the answer. I do have another one regarding XACML, but that will be another post.

Björn