Is there an example around of how to use the Java Client generated library to connect with a server over HTTPS still using basic authentication.
I tried simply updating the protocol in my base bath to HTTPS but ended with the following exception:
Exception in thread "main" com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:155)
at com.sun.jersey.api.client.Client.handle(Client.java:652)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)
at io.swagger.client.ApiClient.getAPIResponse(ApiClient.java:563)
at io.swagger.client.ApiClient.invokeAPI(ApiClient.java:593)