Add option for SAML to validate or ignore invalid X509 Certificates

Open
#3,170 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java

Research direction

The issue does not name a source file, test, or entry point. Begin by locating UAA's SAML X509 certificate validation path and its existing tests; done means defining and testing an explicit option for accepting or rejecting invalid certificates without weakening the default behavior.

Written by the indexing model from the issue text.

Description

What version of UAA are you running?

Add option for SAML to allow or recject X509 certificates which are not valid (anymore).

How are you deploying the UAA?

I am deploying the UAA

  • locally only using gradlew
  • using a bosh release I downloaded from bosh.io
  • using cf-release
  • using cf-deployment
  • as part of a commercial Cloud Foundry distribution
  • other (please explain)
What did you do?

Setup various SAML integrations because of testing new SAML library.

Some IdP ignore expired X509, some not.

UAA (test UAA) has invalid certificate and with this the tests somethimes passed, sometimes not.

Azure/Entra has
https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/howto-enforce-signed-saml-authentication#configure-saml-request-signature-verification

SAP SCI rejects

KeyCloak rejects

Okta? accepts

What did you expect to see? What goal are you trying to achieve with the UAA?
What did you see instead?

Please include UAA logs if available.

Dominant language
Java
Stars
1.6k
Forks
847
Avg merge
2d 1h
Merged PRs (30d)
48

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudfoundry/uaa

All issues in cloudfoundry/uaa

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.