spring-cloud / spring-cloud/spring-cloud-gateway

Mutual SSL authentication proxying to downstream service.

Open
#1,637 11 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
4.9k
Forks
3.5k
Avg merge
20h 57m
Merged PRs (30d)
8

Description

Hello? I have an issue with proxying client certificate to downstream service. I have service behind Spring Cloud Gateway (SCG) which need/want mutual tls authentication. But unfortunately when user executes requests through SCG mutual tls do not happen. On browser sight I did not get any client certificate request, so I assumed that it was not forwarded as a response from downstream service to a browser. I watched carefully on #852, #1091 and on your documentation. And seems that you solve how to make mutual tls from client to SCG and also from SCG to downstream service. But both of them not allow to make mutual tls from client to downstream service through SCG. Have you any ideas about how to solve it? Maybe it needs additional SCG Filter for proxying mutual tls auth ? Or any else solution? Thank you!

Contributor guide

Open the contributing guide

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.

Research direction

Start with the TLS/SSL documentation and related issues #852 and #1091 to understand the existing client-to-gateway and gateway-to-downstream configurations. Then identify the gateway entry points involved in forwarding client certificates; done would require a confirmed design or documented solution for mutual TLS between the client and downstream service through the gateway.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
api, authentication, backend, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.