Hello,
I am using dropwizard 1.0 and trying to make https call over proxy using
jersey client. It is failing during the handshake because Dropwizard is
sending incorrect host name during Handshake. It is sending the hostname
of the proxy instead of the actual host I am trying to connect to.
*** ClientHello, TLSv1.2
......
Extension server_name, server_name: [type=host_name (0),
value=proxy.mycompany.com]
jerseyClient:
tls:
protocol: TLSV1.2
verifyHostname: true
keyStorePath: keystore.jks
keyStorePassword: password
keyStoreType: JKS
trustStorePath: truststore.jks
trustStorePassword: password
trustStoreType: JKS
trustSelfSignedCertificates: true
proxy:
host: proxy.mycompany.com
port: 8000
scheme : https
It works with the same configuration if I try using HttpUrlConnection, While
debugging using -Djavax.net.debug=all , I can see that
it sends the correct target host name and I can connected to the target server.
Has anybody see this before ?, Am I missing anything configuration ?
Thanks
Ashish
--
You received this message because you are subscribed to the Google Groups
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.