Skip to content

SSL Hostname verify incompatible with Netty 4.2.0.Final #5556

@Croway

Description

@Croway

Version

4.5.13, 4.5.14

Context

The hostname verify defaults changed in Netty 4.2.0 https://github.com/netty/netty/blob/4.2/handler/src/main/java/io/netty/handler/ssl/SslUtils.java#L68

Do you have a reproducer?

WebClient.create(vertx, clientOptions), where clientOptions has verifyHost = false.

Even if verify Host is false, the hostname verification is still executed.

Extra

I think the issue may be in https://github.com/eclipse-vertx/vert.x/blob/master/vertx-core/src/main/java/io/vertx/core/http/impl/HttpClientBase.java#L81 most probably, instead of "", "NONE" should be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions