Skip to content

Conversation

jeremyevans
Copy link
Contributor

Server Name Indication does not allow IP addresses (RFC 6066, section 3:
Literal IPv4 and IPv6 addresses are not permitted in "HostName".).

Recent versions of LibreSSL enforce this requirement, and the tests
currently break when running on such versions. Use localhost
instead of 127.0.0.1 to avoid the issue. This requires adding
HTTPSNITest#connect, because s.hostname= is called before
ssl_socket_connect.

Server Name Indication does not allow IP addresses (RFC 6066, section 3:
`Literal IPv4 and IPv6 addresses are not permitted in "HostName".`).

Recent versions of LibreSSL enforce this requirement, and the tests
currently break when running on such versions.  Use localhost
instead of 127.0.0.1 to avoid the issue.  This requires adding
HTTPSNITest#connect, because s.hostname= is called before
ssl_socket_connect.
@jeremyevans jeremyevans merged commit b5c6876 into ruby:master Jan 3, 2022
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.

1 participant