User Guide
Also available as:
PDF

Configuring the Gateway to Use HTTPS

You can configure the gateway to use HTTPS to upload bundles to Hortonworks by using the connectivity and configuration details available in this article: https://support.hortonworks.com/s/article/SmartSense-Gateway-setup (To view this article, you need a valid Hortonworks support account).

To use an authenticated proxy to upload bundles to Hortonworks, follow these steps:

  1. On the SmartSense Gateway host, edit the /etc/hst/conf/gateway/hst-gateway.ini file and supply the appropriate values for your environment:

    ; All proxy configurations are applicable only for HTTPS provider type
    ; set to true to set up a proxy between gateway and SmartSense environment
    ;default:false
    provider.https.proxy.enabled=true
    ; fully qualified proxy hostname
    provider.https.proxy.hostname=your.proxy.host
    ; proxy port that will be used by gateway for outbound access
    provider.https.proxy.port=3128
    ; supported proxy types : HTTP / HTTPS [default:HTTP]
    provider.https.proxy.type=HTTP
    ; supported proxy authentication  types : NONE / BASIC / DIGEST [default:NONE]
    provider.https.proxy.auth.type=BASIC
    ; proxy username for identified auth.type
    provider.https.proxy.auth.username=proxyuser
    ; proxy password for identified auth.type
    provider.https.proxy.auth.password=proxypassword
    ; [optional] any additional proxy setup parameters
    ; use "|" to separate multiple parameters
    ; for example: digest requires setting parameters such as
    ; realm=default|nonce=12GHtqeZA!7Ke43
    provider.https.proxy.auth.parameters=
  2. After you update the configuration file, restart the SmartSense Gateway:

    hst gateway restart