Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for error page in Client Certificate Authentication #1293

Merged
merged 1 commit into from
Sep 3, 2017

Conversation

rikatz
Copy link
Contributor

@rikatz rikatz commented Sep 3, 2017

This PR adds support for error handling in Client Certificate Authentication.

When user doesn't presents a valid certificate, he can be redirected to another page/URL instead of receiving a 400 error.

This must be a different location than the authenticated page, as an example:

If the used doesn't present a certificate, the redirect must be done to something like nocert.mysite.com, with a valid error page/location.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 3, 2017
@k8s-reviewable
Copy link

This change is Reviewable

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 3, 2017
@rikatz
Copy link
Contributor Author

rikatz commented Sep 3, 2017

@jcmoraisjr Please take a look, this can be useful also to HAProxy Ingress Controller.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 43.484% when pulling d33b748 on estaleiro:ssl-auth-error-page into 54459d8 on kubernetes:master.

@aledbf aledbf self-assigned this Sep 3, 2017
@aledbf
Copy link
Member

aledbf commented Sep 3, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 3, 2017
@aledbf
Copy link
Member

aledbf commented Sep 3, 2017

@rikatz thanks!

@aledbf aledbf merged commit 1bcfb15 into kubernetes:master Sep 3, 2017
@rikatz rikatz deleted the ssl-auth-error-page branch September 4, 2017 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants