While answering this question earlier, I looked for previous answers mentioning one of the methods to use, which I know to be setEndpointIdentificationAlgorithm
. I remember writing a few answers about this, so I know they are there.
Yet, a direct search for "setEndpointIdentificationAlgorithm" in the top right box only yields two results:
- How can you test that an SSL client library is properly verifying the certificate of the server to which it connects?
- Secret Key SSL Socket connections in Java
A Google search for "site:stackoverflow.com setEndpointIdentificationAlgorithm" shows there are indeed more results, for example:
- Netty SSL hostname verification support
- How should I do hostname validation when using JSSE?
- Setting SSLContext to jdbc connection
Shouldn't these be found using the Stack Overflow search box?