Skip to main content

Enabling SNI in a Collector to Support Transparent Proxy

The Sumo Logic Collector can optionally enable Server Name Indication (SNI), which is required to support some third-party transparent proxy services, such as Squid.

Determine that SNI requires enabling

If the Collector is unable to connect to your transparent proxy, you might need to enable SNI.  Look for the following error message in the collector.log file in the Collector installation logs directory.

javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Enable SNI

  1. Stop the Sumo Logic Collector service.

    • On Windows: net stop sumo-collector
    • On Linux: sudo ./collector stop
  2. Modify the user.properties file in the config subdirectory of the Sumo Logic collector installation directory.

    • On Windows, add the following line and save. wrapper.java.additional.2=-Djsse.enableSNIExtension=true
    • On Linux, add the following line and save. wrapper.java.additional.3=-Djsse.enableSNIExtension=true
  3. Save the file.

  4. Start the Sumo Logic Collector service.

    • On Windows: net start sumo-collector
    • On Linux: sudo ./collector start

To revert back to the default configuration or disable the feature, remove the line that you added from user.properties and restart the Collector service.

Legal
Privacy Statement
Terms of Use

Copyright © 2023 by Sumo Logic, Inc.