spring-cloud / spring-cloud/spring-cloud-config

Support cert based authentication for config server

Open
#1,618 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
2k
Forks
1.3k
Avg merge
2d 59m
Merged PRs (30d)
16

Description

Is your feature request related to a problem? Please describe.
config server can be set up by request client cert:

  • server.ssl.enabled=true
  • server.ssl.client-auth=need

Ideally the spring cloud config client library should support the cert based authentication by some configuration.

Describe the solution you'd like
Currently the cert based authentication is supported in Azure Spring Cloud client lib via following properties:

  • spring.cloud.config.tls.enabled
  • spring.cloud.config.tls.key-store
  • spring.cloud.config.tls.key-store-password
  • spring.cloud.config.tls.key-password

Wondering if this implementation can be ported into spring cloud config client.

The source code of Azure Spring Cloud client lib can be found at: https://repo1.maven.org/maven2/com/microsoft/azure/spring-cloud-starter-azure-spring-cloud-client/2.2.0/spring-cloud-starter-azure-spring-cloud-client-2.2.0-sources.jar

Describe alternatives you've considered
N/A

Additional context
N/A

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

No repository files or tests are named. Start by reviewing the spring-cloud-config client entry points and the Azure Spring Cloud client source archive, focusing on the listed TLS properties; done should mean certificate-based client authentication can be configured for the config server connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
authentication, backend, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.