Configuring SmartSense
Also available as:
PDF

Configure the HST 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 Configuring the SmartSense gateway for automatic bundle submission. To view this article, you need a valid Hortonworks support account. To use an authenticated HTTP or HTTPS proxy to upload bundles to Hortonworks, follow these steps:

  1. If you would like to set up HTTPS proxy, you must contact Hortonworks Support.
    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