Skip to content

Just my thoughts... - #4

Open
daniel-ac-martin wants to merge 1 commit into
UKHomeOffice:masterfrom
daniel-ac-martin:patch-1
Open

Just my thoughts...#4
daniel-ac-martin wants to merge 1 commit into
UKHomeOffice:masterfrom
daniel-ac-martin:patch-1

Conversation

@daniel-ac-martin

Copy link
Copy Markdown

Probably shouldn't actually merge this.

Probably shouldn't actually merge this.
Comment thread README.adoc

|
|Have to maintain a CA for signing client certs
|Have to maintain a CA for signing client certs. (Have you thought about how you will revoke access should this need arise?)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is possibly using CRLs (Certificate Revocation Lists). How we manage the updating and distribution of these lists is left as an exercise for the reader.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For internal communication I have a reasonably nice solution in LEV using long-lived, self-signed certs.
There's not too much benefit over standard TLS plus basic auth, except that the auth happens outside of HTTP. (It's possibly you would want to use basic auth for something else.)

Any I would like to get people's thoughts on it...

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I say self-signed, I suppose what I'm getting at is that I'm pretty much side-stepping all the complexity that comes with running a CA.

Also, for internal stuff there /might/ already be better solutions out there using cfssl which is what is usually used with k8 I believe. I'd defer to the devops guys on that one.

Comment thread README.adoc
|Doing anything beyond basic auth is difficult

|
|User accounts have to be managed by your application, introducing complexity

@daniel-ac-martin daniel-ac-martin Nov 15, 2016

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't really true. We can manage the user accounts anyway we like. It would be perfectly possible to have SSO using basic auth just that we don't have such a solution at the moment.

If nothing else, it would be possibly to write a type of forward signing proxy that abstracts away Keycloak's OAuth2 and exposes basic auth instead. Whether such a thing is a good idea on the other hand...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant