Skip to content

Don't require client authentication if kafka configured not to require it #109

@dangogh

Description

@dangogh

Currently, kt will not attempt to use TLS unless cert, ca, and key paths are all provided and valid. Is this necessary if the host running kt has default system certs set up properly? If so, a -tls option would be handy that causes an empty&tls.Config{} to be returned from setupCerts().

Forgive me if this over-simplifies the issue..

    if cmd.UseTLS {
       return &tls.Config{}, nil
   }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions