2

I'm having troubles accessing a https url via a clj-http get-request.

The same URL works perfectly with a simple curl request. In clojure, I just get it working when using the :insecure? true flag.

Here's the error I get otherwise:

SSLException Certificate for <...> doesn't match any of the subject alternative names: [..., ...]  org.apache.http.conn.\
ssl.AbstractVerifier.verify (AbstractVerifier.java:164)
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
  • What Apache HTTP Client version are you using (clj-http uses it internally)? Maybe it is related to https://issues.apache.org/jira/browse/HTTPCLIENT-1613? – Piotrek Bzdyl Jun 01 '16 at 16:22

0 Answers0