Skip to content

Document TLS/SSL Configuration for Spring Cloud MVC Gateway #3654

Open
@ashah2012

Description

@ashah2012

Feature Request: TLS/SSL Configuration for Spring Cloud MVC Gateway

Description:
Currently, Spring Cloud Reactor Gateway provides properties to configure TLS and SSL settings for the HTTP client. However, Spring Cloud MVC Gateway lacks similar configuration options. This feature request is to add support for configuring TLS and SSL properties in Spring Cloud MVC Gateway using application properties.

Proposed Solution:
Add properties to the application.properties or application.yml file to configure TLS and SSL settings for the HTTP client in Spring Cloud MVC Gateway. These properties should include options for specifying the key store, trust store, protocols, and other relevant SSL/TLS settings.

Example Configuration:

spring.mvc.gateway.httpclient.ssl.key-store=classpath:keystore.jks
spring.mvc.gateway.httpclient.ssl.key-store-password=changeit
spring.mvc.gateway.httpclient.ssl.trust-store=classpath:truststore.jks
spring.mvc.gateway.httpclient.ssl.trust-store-password=changeit
spring.mvc.gateway.httpclient.ssl.protocol=TLS

Benefits:

  • Enhanced security by allowing users to configure SSL/TLS settings.
  • Consistency with Spring Cloud Reactor Gateway, making it easier for users to switch between the two.
  • Simplified configuration management through application properties.

Use Cases:

  • Secure communication between the MVC Gateway and backend services.
  • Compliance with security policies requiring specific SSL/TLS configurations.

References:

Thank you for considering this feature request.
I'm happy to submit a PR for the changes.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions