Skip to content

feat: support MutualTLS.#254

Merged
knutwalker merged 2 commits into
neo4j-labs:mainfrom
MikuSugar:main
Aug 12, 2025
Merged

feat: support MutualTLS.#254
knutwalker merged 2 commits into
neo4j-labs:mainfrom
MikuSugar:main

Conversation

@MikuSugar
Copy link
Copy Markdown
Contributor

Provided mutual authentication support。

  //Used for bidirectional authentication
    pub fn with_mutual_tls_validation(
        mut self,
        client_cert: Option<impl AsRef<Path>>,
        ssl_cert: impl AsRef<Path>,
        ssl_key: impl AsRef<Path>,
    ) -> Self {
        self.tls_config =
            ConnectionTLSConfig::MutualTLS(MutualTLS::new(client_cert, ssl_cert, ssl_key));
        self
    }

#247

Copy link
Copy Markdown
Collaborator

@madchicken madchicken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this addition!

@madchicken madchicken requested a review from knutwalker August 5, 2025 08:26
Copy link
Copy Markdown
Contributor

@knutwalker knutwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for adding this!

@knutwalker knutwalker merged commit eebf8db into neo4j-labs:main Aug 12, 2025
11 checks passed
@MikuSugar MikuSugar mentioned this pull request Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants