Automic Community

Expand all | Collapse all

AwE-5103 network socket error : unable to find valid certification path to requested target

Jump to Best Answer
  • 1.  AwE-5103 network socket error : unable to find valid certification path to requested target

    Posted 09-18-2019 10:56 AM
    Hi,
    I have installed remote agent #applicationsmanager V9 and trying to start the agent

    awstat
    RPASPOC watchworx Running 0 1 hours XXXXXX
    RPASPOC agentservice Running 0 1 hours 16813

    awexe node
    231 Error number from open pipe 2. /applman/POC/pipe/AWAPI_RPASPOC_PIPE
    334 Check that the API server is running.
    Could not open server pipe.

    startso RPASPOC
    awapi failed to respond
    startso done

    I have added the Master certificate at location .Appworx as did for client , but anable to start the agent
    Help appreciated!!!

    AgentService1909181538.log

    ErrorMsg: AwE-5103 network socket error (9/18/19, 4:36 PM)
    Details: Network socket error
    javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:320)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:258)
    at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1324)
    at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1199)
    at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1146)
    at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
    at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443)
    at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:421)
    at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:177)
    at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
    at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)
    at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
    at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:716)
    at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:970)
    at java.base/java.io.OutputStream.write(OutputStream.java:122)
    at com.appworx.shared.code.server.B.A(RequestSocket.java:150)
    at com.appworx.agent.AgentSocketManager.A(AgentSocketManager.java:165)
    at com.appworx.agent.AgentSocketManager.A(AgentSocketManager.java:107)
    at com.appworx.agent.AgentService.A(AgentService.java:681)
    at com.appworx.agent.AgentService.<init>(AgentService.java:361)
    at com.appworx.agent.AgentService.main(AgentService.java:1017)
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
    at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:290)
    at java.base/sun.security.validator.Validator.validate(Validator.java:264)
    at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:222)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129)
    at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1308)
    ... 19 more
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
    at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
    at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
    at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)


    ------------------------------
    Ansari
    ------------------------------


  • 2.  RE: AwE-5103 network socket error : unable to find valid certification path to requested target
    Best Answer

    Posted 09-24-2019 03:34 AM
    We have found the issue, there is a miss match between the user created in AM Master and remote agent machine.
    Assigned the correct user for remote agent using AM client and restarted the agent.