Facility Control

 View Only
  • 1.  Ignore SSL error?

    Posted 05-28-2019 15:02

    Trying to run an asyncPost command to a https server and getting this error:

    sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    Is there any way to ignore this error and proceed? I'm not terrible worried about security as I'm just sending commands to an API.



  • 2.  RE: Ignore SSL error?

    Posted 05-28-2019 22:39

    You have a few options you can try.

    1. Use the Java "keytool" to import your certificate into the Java runtime used by DashBoard (DashBoard Directory\JRE)
      https://docs.oracle.com/javase/tutorial/security/toolfilex/rstep1.html
    2. You can attempt to disable validation by adding this line to the end of DashBoard.ini:
      "-Dcom.sun.net.ssl.checkRevocation=false"

    #DashBoard