Bypassing the certificate validation

You can bypass checking for a signed SSL certificate with the Java API.

Procedure

  • To bypass checking for a signed SSL certificate with the Java API, set to true the property TIBCO_STATSVCS_SSL_ALLOW_ANY_CERTIFICATE as follows:
    System.setProperty(BaseClient.TIBCO_STATSVCS_SSL_ALLOW_ANY_CERTIFICATE, "true");

    If you set this property to true, your Java application does not validate the server certificate.