Skip to content

Conversation

@rdhabalia
Copy link
Contributor

Motivation

Allow configure tlsTrustCertsFilePath tlsAllowInsecureConnection tlsEnableHostnameVerification using CLI argument in pulsar-client tools.

@rdhabalia rdhabalia added this to the 2.6.0 milestone Apr 16, 2020
@rdhabalia rdhabalia self-assigned this Apr 16, 2020
jiazhai
jiazhai previously approved these changes Apr 16, 2020
@jiazhai
Copy link
Member

jiazhai commented Apr 16, 2020

/pulsarbot run-failure-checks

String tlsTrustCertsFilePath;

@Parameter(names = { "--tls-allow-insecure" }, description = "Allow TLS insecure connection")
Boolean tlsAllowInsecureConnection = null;
Copy link
Member

Choose a reason for hiding this comment

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

This is a boxed value.

I think you need to change the value assignments in PulsarClientTool constructor.

        this.tlsAllowInsecureConnection = Boolean
                .parseBoolean(properties.getProperty("tlsAllowInsecureConnection", "false"));
        this.tlsEnableHostnameVerification = Boolean
                .parseBoolean(properties.getProperty("tlsEnableHostnameVerification", "false"));
        this.tlsTrustCertsFilePath = properties.getProperty("tlsTrustCertsFilePath");

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, that's correct. I fixed it.

@codelipenghui
Copy link
Contributor

@rdhabalia Could you please take a look at sijie's comments?

@codelipenghui
Copy link
Contributor

move to 2.7.0 first.

@codelipenghui codelipenghui modified the milestones: 2.6.0, 2.7.0 Jun 4, 2020
@codelipenghui codelipenghui modified the milestones: 2.7.0, 2.8.0 Nov 4, 2020
@codelipenghui codelipenghui modified the milestones: 2.8.0, 2.9.0 May 19, 2021
@eolivelli eolivelli modified the milestones: 2.9.0, 2.10.0 Oct 6, 2021
@codelipenghui codelipenghui modified the milestones: 2.10.0, 2.11.0 Jan 18, 2022
@codelipenghui codelipenghui modified the milestones: 2.11.0, 2.12.0 Jul 26, 2022
@tisonkun
Copy link
Member

tisonkun commented Dec 9, 2022

Closed as stale and conflict. Please rebase and resubmit the patch if it's still relevant.

@tisonkun tisonkun closed this Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants