Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

HostnameVerifier #145

Closed
bitsofinfo opened this issue Jul 21, 2016 · 4 comments
Closed

HostnameVerifier #145

bitsofinfo opened this issue Jul 21, 2016 · 4 comments

Comments

@bitsofinfo
Copy link

In a prior version we used to be able to do this, but its gone. How can I do this in 0.12.4?

consulBuilder.withClientBuilder(ClientBuilder.newBuilder().hostnameVerifier(new HostnameVerifier() {
                                public boolean verify(String s, SSLSession sslSession) {
                                    return true;
                                }
                            }));
@rickfast
Copy link
Owner

The client was changed to use a shaded version of retrofit and OkHTTP. I think we can expose it in the Consil builder. I will try and get to it soon.

@bitsofinfo
Copy link
Author

Or will it pick it up from this one? http://download.java.net/jdk7/archive/b123/docs/api/javax/net/ssl/HttpsURLConnection.html

Just need to get this working to upgrade this lib we wrote

@rickfast
Copy link
Owner

fixed by b6c64d7. release in 0.12.5

@bitsofinfo
Copy link
Author

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants