I have/inherited a maven project that's based on JERSEY JAX-RS. I'm having and issue with disabling CN checking so that I can connect to a repository outside my control. I have seen this similar issue and tried -Djsse.enableSNIExtension=false as I do have the same exact error; as well as adding a cxf.xml file as per specified on the cxf site but none of these work.
Asked
Active
Viewed 221 times
1 Answers
1
I think you can try to use HostNameVerifier and force verify method to return true as an alternative.
Thanks,

Bpn
- 11
- 2
-
Not to the resource class responsible for the call it seems, nor to the class responsible for handling cmis connections. – Dark Star1 Aug 01 '16 at 13:17