8 Replies Latest reply on Aug 30, 2018 12:51 AM by Lou Patrick

    API authentication fails because of invalid SSL certificate

    Dmitry Studynskyi

      Hi,

      We have java integration with Eloqua Marketing REST API. The integration stopped to work around 10 pm EST, March 9. We started to get:

      feign.RetryableException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target executing POST https://login.eloqua.com/auth/oauth2/token
      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
      

       

      Then i checked by curl

      >curl -v https://login.eloqua.com/auth/oauth2/token
      *   Trying 142.0.173.145...
      * TCP_NODELAY set
      * Connected to login.eloqua.com (142.0.173.145) port 443 (#0)
      * ALPN, offering h2
      * ALPN, offering http/1.1
      * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
      * successfully set certificate verify locations:
      *   CAfile: C:\WINDOWS\system32\ca-bundle.crt
        CApath: none
      * TLSv1.2 (OUT), TLS header, Certificate Status (22):
      * TLSv1.2 (OUT), TLS handshake, Client hello (1):
      * TLSv1.2 (IN), TLS handshake, Server hello (2):
      * TLSv1.2 (IN), TLS handshake, Certificate (11):
      * TLSv1.2 (OUT), TLS alert, Server hello (2):
      * SSL certificate problem: unable to get local issuer certificate
      * stopped the pause stream!
      * Closing connection 0
      * TLSv1.2 (OUT), TLS alert, Client hello (1):
      curl: (60) SSL certificate problem: unable to get local issuer certificate
      More details here: https://curl.haxx.se/docs/sslcerts.html
      

       

      And also by some online tool

      ssl-check.png

      Please let us know when it will be fixed because users are blocked to use Eloqua.