Skip to content

Core: allow setting mTLS client cert,key #5092

Description

@oxy-star

Describe the feature

Add support for mutual TLS

Use Case

mTLS allows client and server authenticate each other. This enabled secure client-server communication on insecure or in unrestricted(non-friewalled) networks.

Proposed Solution

Add client_cert and client_key configuration parameters which will get mapped to ClientTlsConfig.

Looking at the code, glide core code has support for mTLS except that required parameters are not initialzed and not exposed to clients. For exmaple,

        let tls_certs = TlsCertificates {
            client_tls: None,
            root_cert: Some(combined_certs),
        };

mTLS would work if client_tls could be set when initializing a client.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Client version used

2.2.4

Environment details (OS name and version, etc.)

macos 26

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions