Improper Validation of Certificate with Host Mismatch
The undertow client is not checking the server identity presented by the server certificate in https connections. This is a compulsory step (at least it should be performed by default) in https and in http/2. I would add it to any TLS client protocol.
Unfortunately, there is no solution available yet.