Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2659

fix fake ssl in client

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.27
    • None
    • None

    Description

      Error with grouper client, check the logs: Problem in url: https://ec2-34-229-14-196.compute-1.amazonaws.com/grouper-ws/servicesRest
      Apr 08, 2020 2:41:34 AM edu.internet2.middleware.grouperClient.GrouperClient main
      SEVERE: Problem in url: https://ec2-34-229-14-196.compute-1.amazonaws.com/grouper-ws/servicesRest
      java.lang.RuntimeException: Problem in url: https://ec2-34-229-14-196.compute-1.amazonaws.com/grouper-ws/servicesRest
      at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.postMethod(GrouperClientWs.java:997)
      at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.executeServiceHelper(GrouperClientWs.java:624)
      at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.access$000(GrouperClientWs.java:74)
      at edu.internet2.middleware.grouperClient.ws.GrouperClientWs$1.logic(GrouperClientWs.java:567)
      at edu.internet2.middleware.grouperClient.ws.GrouperClientWs$1.logic(GrouperClientWs.java:561)
      at edu.internet2.middleware.grouperClient.failover.FailoverClient.internal_failoverLogic(FailoverClient.java:706)
      at edu.internet2.middleware.grouperClient.failover.FailoverClient.failoverLogic(FailoverClient.java:611)
      at edu.internet2.middleware.grouperClient.failover.FailoverClient.failoverLogic(FailoverClient.java:587)
      at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.executeService(GrouperClientWs.java:561)
      at edu.internet2.middleware.grouperClient.api.GcGetSubjects.execute(GcGetSubjects.java:276)
      at edu.internet2.middleware.grouperClient.GrouperClient.getSubjects(GrouperClient.java:3440)
      at edu.internet2.middleware.grouperClient.GrouperClient.main(GrouperClient.java:422)
      Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
      at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
      at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964)
      at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)
      at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322)
      at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614)
      at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
      at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
      at sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
      at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:757)
      at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
      at edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:161)
      at edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:514)
      at edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2129)
      at edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1111)
      at edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:413)
      at edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:186)
      at edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:412)
      at edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:338)
      at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.postMethod(GrouperClientWs.java:984)
      ... 11 more
      Caused by: sun.security.validator.ValidatorException: No trusted certificate found
      at sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:397)
      at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:134)
      at sun.security.validator.Validator.validate(Validator.java:262)
      at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
      at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:227)
      at sun.security.ssl.X509TrustManagerImpl.checkClientTrusted(X509TrustManagerImpl.java:99)
      at edu.internet2.middleware.grouperClient.ssl.EasySslSocketFactory$EasyX509TrustManager.checkServerTrusted(EasySslSocketFactory.java:172)
      at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:992)
      at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1596)
      ... 29 more

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist