On Sat, Feb 18, 2017 at 2:06 AM, Oleg Kalnichevski wrote:
> On Fri, 2017-02-17 at 12:56 -0800, Gary Gregory wrote:
> > Hi All,
> >
> > I cannot seem to get org.apache.http.conn.ssl.TrustSelfSignedStrategy
> > to
> > work with an SSL connection.
> >
> > I am creating the HttpClient (4.5.3, the lat
On Fri, 2017-02-17 at 12:56 -0800, Gary Gregory wrote:
> Hi All,
>
> I cannot seem to get org.apache.http.conn.ssl.TrustSelfSignedStrategy
> to
> work with an SSL connection.
>
> I am creating the HttpClient (4.5.3, the latest) like so:
>
> final PoolingHttpClientConnectionManager cm = n
I should also tried a custom class and it did not work either and it was
never called either.
public class AcceptAllTrustStrategy implements TrustStrategy {
@Override
public boolean isTrusted(X509Certificate[] chain, String authType) {
return true;
}
}
Gary
On Fri, Feb 17,
Hi All,
I cannot seem to get org.apache.http.conn.ssl.TrustSelfSignedStrategy to
work with an SSL connection.
I am creating the HttpClient (4.5.3, the latest) like so:
final PoolingHttpClientConnectionManager cm = new
PoolingHttpClientConnectionManager();
httpClient =
HttpClientF