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

Docs about tls.vhost are unclear #507

Closed
cedws opened this issue Apr 13, 2021 · 4 comments
Closed

Docs about tls.vhost are unclear #507

cedws opened this issue Apr 13, 2021 · 4 comments
Labels

Comments

@cedws
Copy link

cedws commented Apr 13, 2021

I'm experimenting with fluentbit to fluentd fowarding with TLS encryption using a self-signed certificate.

I struggled for a while to get fluentbit to connect to fluentd because it was rejecting the certificate:

X509 - Certificate verification failed, e.g. CRL, CA or signature check

Adding the tls.vhost option with the common name of the server certificate got it working:

[OUTPUT]
    ...
    tls         on
    tls.ca_file /blah/blah.crt
    tls.debug   4
+   tls.vhost   fluentd

In the docs tls.vhost is described as the hostname to be used for TLS SNI extension.

If you are serving multiple hostnames on a single IP address (a.k.a. virtual hosting), you can make use of tls.vhost to connect to a specific hostname.

I ignored it because I am not using SNI or serving multiple hostnames on an address so this didn't seem to be relevant to me.

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

@github-actions github-actions bot added the Stale label Oct 22, 2022
@elenacbc
Copy link
Contributor

@cedws Sorry for the late response. We will change this in order to make things clearer. Thanks for the suggestion.

@github-actions github-actions bot removed the Stale label Oct 26, 2022
@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

@github-actions github-actions bot added the Stale label Jan 25, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants