javax.net.ssl.SSLException: untrusted server cert chain [testSpec] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198]) [testSpec] at com.sun.net.ssl.internal.ssl.ClientHandshaker.a([DashoPro-V1.2-120198]) [testSpec] at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage([DashoPro-V1.2- 120198]) <full trace below> I know that I need to import this certificate into my keystore, but I'm not exectly sure how to do that when I dont have the remote server's certificate to install. how do I get it? Also, is there a way to get WebTest to automatically accept certificates issued by trusted authorities? Full Traces are below. Thanks! Dave <<Full Exception Stack Traces>> Exception raised: com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: untr usted server cert chaincom.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: untrusted server cert chain at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:237) at com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:141) at com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:91)

canoo.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [Webtest] need help: javax.net.ssl.SSLException: untrusted se rver cert chain

    canoo.com | 6 months ago
    javax.net.ssl.SSLException: untrusted server cert chain [testSpec] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198]) [testSpec] at com.sun.net.ssl.internal.ssl.ClientHandshaker.a([DashoPro-V1.2-120198]) [testSpec] at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage([DashoPro-V1.2- 120198]) <full trace below> I know that I need to import this certificate into my keystore, but I'm not exectly sure how to do that when I dont have the remote server's certificate to install. how do I get it? Also, is there a way to get WebTest to automatically accept certificates issued by trusted authorities? Full Traces are below. Thanks! Dave <<Full Exception Stack Traces>> Exception raised: com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: untr usted server cert chaincom.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: untrusted server cert chain at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:237) at com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:141) at com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:91)

    Root Cause Analysis

    1. javax.net.ssl.SSLException

      untrusted server cert chain [testSpec] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198]) [testSpec] at com.sun.net.ssl.internal.ssl.ClientHandshaker.a([DashoPro-V1.2-120198]) [testSpec] at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage([DashoPro-V1.2- 120198]) <full trace below> I know that I need to import this certificate into my keystore, but I'm not exectly sure how to do that when I dont have the remote server's certificate to install. how do I get it? Also, is there a way to get WebTest to automatically accept certificates issued by trusted authorities? Full Traces are below. Thanks! Dave <<Full Exception Stack Traces>> Exception raised: com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: untr usted server cert chaincom.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: untrusted server cert chain at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:237) at com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:141) at com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:91)

      at com.canoo.webtest.steps.Step.execute()
    2. com.canoo.webtest
      Engine.executeSteps
      1. com.canoo.webtest.steps.Step.execute(Step.java:56)
      2. com.canoo.webtest.engine.Engine.executeSteps(Engine.java:32)
      2 frames