Hi,
On Thu, Apr 14, 2016 at 7:02 PM, Alaric Snell-Pym
<[email protected]> wrote:
> Hi there!
>
> I'm writing some software that needs to connect to HTTPS servers. I'm
> using Jetty HTTP client, and it works fine, except that I can't seem to
> get it to validate the server's certificate.
Use:
SslContextFactory.setEndpointIdentificationAlgorithm("HTTPS");
Test case that shows this is:
https://github.com/eclipse/jetty.project/blob/jetty-9.3.8.v20160314/jetty-client/src/test/java/org/eclipse/jetty/client/HostnameVerificationTest.java
--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users