Home Wiki Blog Forum GEXF.net

Gephi forums

Community support

How to disable certificate check in sparql

Once it's running

How to disable certificate check in sparql

Postby mvalle » 18 Sep 2013 08:25

For strange reasons our in-house RDF database has an invalid certificate on its sparql endpoint.
From command line I access this endpoint using curl and bypass this problem using the curl's -k option.
Is there anything similar from Gephi? Currently my query fails with the error below.
Thanks!
mario

Sep 18, 2013 8:04:26 AM org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter run
INFO: External Changes Refresh on focus gain disabled

Sep 18, 2013 8:05:30 AM org.netbeans.core.startup.logging.PrintStreamLogger run
INFO: init: Bootstrapping class not in Py.BOOTSTRAP_TYPES[class=class org.python.core.PyStringMap]


Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.semantic.SemanticWebImportMainWindowTopComponent startCreateGraphs
INFO: Entering startCreateGraphs

Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.semantic.SemanticWebImportMainWindowTopComponent startCreateGraphs
INFO: Starting the RDF importer for Gephi

Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.semantic.importer.SemanticWebImportParser populateRDFGraph
INFO: resetWorkspace = false

Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.semantic.importer.SemanticWebImportParser populateRDFGraph
INFO: postProcessing = false

Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.semantic.analyzer.RdfAnalyzer run
INFO: Begin: Building the implementation relationships graph.

Sep 18, 2013 8:05:32 AM org.openide.util.Exceptions printStackTrace
SEVERE: null
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching matterhorn1.login.cscs.ch found
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1886)
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 sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:515)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
at fr.inria.edelweiss.sparql.restdriver.SparqlRestEndPointDriver.sparqlQuery(SparqlRestEndPointDriver.java:66)
at fr.inria.edelweiss.semantic.analyzer.RdfAnalyzer.run(RdfAnalyzer.java:61)
at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:251)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
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:724)
Caused by: java.security.cert.CertificateException: No name matching matterhorn1.login.cscs.ch found
at sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:208)
at sun.security.util.HostnameChecker.match(HostnameChecker.java:93)
at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:347)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:203)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)
... 20 more


Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.sparql.RdfParser$1 fatalError
SEVERE: Premature end of file.

Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.semantic.analyzer.RdfAnalyzer run
INFO: Number of triples parsed: 0

Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.semantic.analyzer.EmptyPostProcessor run
INFO: Applying empty post-processing

Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.semantic.analyzer.RdfAnalyzer run
INFO: End: Building the implementation relationships graph.

Sep 18, 2013 8:05:32 AM fr.inria.edelweiss.semantic.SemanticWebImportMainWindowTopComponent taskFinished
INFO: Finished startCreateGraphs. Time elapsed = 299 milliseconds
User avatar
mvalle
 
Posts: 3
Joined: 18 Sep 2013 08:18
Location: Lugano Switzerland

Return to How-To and Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest