Browsing or connecting to Sharepoint using the OData Connector results in javax.net.ssl.SSLHandshakeException

Document created by mike_aronson Employee on Jun 26, 2014
Version 1Show Document
  • View in full screen mode
Browsing or connecting to Sharepoint using the OData Connector results in javax.net.ssl.SSLHandshakeException:

java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
at org.odata4j.core.Throwables.propagate(Throwables.java:11) 
at org.odata4j.cxf.consumer.ODataCxfClient.doRequest(ODataCxfClient.java:166) 
at org.odata4j.consumer.AbstractODataClient.getMetadata(AbstractODataClient.java:43) 
at org.odata4j.consumer.AbstractODataConsumer$CachedEdmDataServices.refreshDelegate(AbstractODataConsumer.java:212) 
at org.odata4j.consumer.AbstractODataConsumer$CachedEdmDataServices.getDelegate(AbstractODataConsumer.java:205) 
at org.odata4j.internal.EdmDataServicesDecorator.getVersion(EdmDataServicesDecorator.java:26) 
at com.boomi.connector.odata.util.ODataBaseConnection.<init>(ODataBaseConnection.java:61) 
at com.boomi.connector.odata.ODataMetaDataConnection.<init>(ODataMetaDataConnection.java:16) 
at com.boomi.connector.odata.ODataConnector.createBrowser(ODataConnector.java:31) 
at com.boomi.connector.generic.GenericConnectorBrowseAction.createBrowser(GenericConnectorBrowseAction.java:190) 
at com.boomi.connector.generic.GenericConnectorBrowseAction.browseObjectTypes(GenericConnectorBrowseAction.java:116) 
at com.boomi.connector.generic.GenericConnectorBrowseAction.browse(GenericConnectorBrowseAction.java:90) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:606) 
at com.boomi.util.ClassUtil$InvokerWithClassLoader.invoke(ClassUtil.java:360) 
at com.sun.proxy.$Proxy32.browse(Unknown Source) 
at com.boomi.connector.BrowseMessageHandler.handle(BrowseMessageHandler.java:83) 
at com.boomi.container.core.MessagePollerThread$BaseTask.handleMessage(MessagePollerThread.java:639) 
at com.boomi.container.core.MessagePollerThread$AsyncTask.run(MessagePollerThread.java:667) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:745) 
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) 
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884) 
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276) 
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270) 
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341) 
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153) 
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868) 
at sun.security.ssl.Handshaker.process_record(Handshaker.java:804) 
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016) 
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) 
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339) 
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323) 
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275) 
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:254) 
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:117) 
Sharepoint servers may require a certificate be imported into the atom’s Java keystore. 
Follow the guidance at these links to ensure the JCE files are updated and to import the certificate:
 
How to add a Certificate to the Java Keystore
 
How to upgrade the JCE Files to support unlimited strength cryptography
 

 

Attachments

    Outcomes