Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support https configuration #258

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mavemuri
Copy link

No description provided.

@mavemuri
Copy link
Author

@weeco can you please review

Comment on lines +7 to +8
TLSCertFile string `koanf:"tlsCertificate"`
TLSKeyFile string `koanf:"tlsKey"`
Copy link
Contributor

Choose a reason for hiding this comment

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

I tried to update this into your branch, but I didn't have permissions to do changes. A minor change for consistency with other TLS configs (kafka.tls)

Suggested change
TLSCertFile string `koanf:"tlsCertificate"`
TLSKeyFile string `koanf:"tlsKey"`
TLSCertFile string `koanf:"tlsCertFilepath"`
TLSKeyFile string `koanf:"tlsKeyFilepath"`

Comment on lines +175 to +178
# Certificate file to be used if configuring as a HTTPS server, leave empty to configure as a HTTP server
tlsCertificate: ""
# Key file to be used if configuring as a HTTPS server, ignored if tlsCertificate isnt set
tlsKey: ""
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Certificate file to be used if configuring as a HTTPS server, leave empty to configure as a HTTP server
tlsCertificate: ""
# Key file to be used if configuring as a HTTPS server, ignored if tlsCertificate isnt set
tlsKey: ""
# Certificate file to be used if configuring as an HTTPS server, leave empty to configure as an HTTP server
tlsCertFilepath: ""
# Key file to be used if configuring as a HTTPS server, ignored if tlsCertFilepath isn't set
tlsKeyFilepath: ""

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.

2 participants