Skip to content

Ascii_only? error when attempting tls connection via Openssl #4289

Answered by kenhys
Hos73 asked this question in Q&A
Discussion options

You must be logged in to vote

I've overlooked the actual logic.

It seems that not san.ascii_only? but hostname.ascii_only was called.
In this case hostname is always nil so the solution is something like in client side:

<match *.*.*>

       ...(snip)

       transport tls
       heartbeat_type udp
       tls_cert_path /etc/fluent/cert/fluentd.crt
       tls_verify_hostname false

       <server>
       host XX.XX.XX.XXX
       port 24224
       </server>

       </store>
</match>

tls_verify_hostname false will work.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Hos73
Comment options

@kenhys
Comment options

Answer selected by Hos73
@Hos73
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants